summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-27 17:10:00 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-27 17:10:00 +0000
commit1c552ba8e5022a40024d2eaf2d4fc3a370c058dd (patch)
tree781f374905e08daa4ff5ca8eaa670177d54dbcfd /target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
parent9c241983fcc1c4d2e06587fcda24a16a14197b8d (diff)
downloadmtk-20170518-1c552ba8e5022a40024d2eaf2d4fc3a370c058dd.zip
mtk-20170518-1c552ba8e5022a40024d2eaf2d4fc3a370c058dd.tar.gz
mtk-20170518-1c552ba8e5022a40024d2eaf2d4fc3a370c058dd.tar.bz2
ramips: rt3883: add device registration code for the SPI controller
SVN-Revision: 31922
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h b/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
index bbddc7e..808bcb2 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
+++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
@@ -12,6 +12,7 @@
#define _RT3883_DEVICES_H
struct physmap_flash_data;
+struct spi_board_info;
extern struct physmap_flash_data rt3883_flash0_data;
extern struct physmap_flash_data rt3883_flash1_data;
@@ -28,4 +29,6 @@ extern struct rt2x00_platform_data rt3883_wlan_data;
void rt3883_register_wlan(void);
void rt3883_register_wdt(bool enable_reset);
+void rt3883_register_spi(struct spi_board_info *info, int n);
+
#endif /* _RT3883_DEVICES_H */