Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[linux-2.6/mini2440.git] / include / linux / of_spi.h
blob5f71ee8c0868d6d549ded2ca2ffbbfa837160584
1 /*
2 * OpenFirmware SPI support routines
3 * Copyright (C) 2008 Secret Lab Technologies Ltd.
5 * Support routines for deriving SPI device attachments from the device
6 * tree.
7 */
9 #ifndef __LINUX_OF_SPI_H
10 #define __LINUX_OF_SPI_H
12 #include <linux/of.h>
13 #include <linux/spi/spi.h>
15 extern void of_register_spi_devices(struct spi_master *master,
16 struct device_node *np);
18 #endif /* __LINUX_OF_SPI */