ARM: 6941/1: cache: ensure MVA is cacheline aligned in flush_kern_dcache_area
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / of_spi.h
blob9e3e70f78ae64c4077917d330923d9868e290cfc
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/spi/spi.h>
14 #if defined(CONFIG_OF_SPI) || defined(CONFIG_OF_SPI_MODULE)
15 extern void of_register_spi_devices(struct spi_master *master);
16 #else
17 static inline void of_register_spi_devices(struct spi_master *master)
19 return;
21 #endif /* CONFIG_OF_SPI */
23 #endif /* __LINUX_OF_SPI */