summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-02-10 12:31:38 +0000
committerJonas Gorski <jogo@openwrt.org>2013-02-10 12:31:38 +0000
commitf07a33afc2d7ad6863282e627e157f1290978460 (patch)
tree534d05211488ac7eda9cc533d15dd369da57f56a
parenteedc3554fe4b8161c8327efb0d40d095cf55874c (diff)
downloadmtk-20170518-f07a33afc2d7ad6863282e627e157f1290978460.zip
mtk-20170518-f07a33afc2d7ad6863282e627e157f1290978460.tar.gz
mtk-20170518-f07a33afc2d7ad6863282e627e157f1290978460.tar.bz2
ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35535
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
index 3f02be7..1a61b45 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c
@@ -429,6 +429,9 @@ static void __init rb493g_setup(void)
rb4xx_leds_gpio);
spi_register_board_info(rb4xx_spi_info, ARRAY_SIZE(rb4xx_spi_info));
+ spi_register_board_info(rb4xx_microsd_info,
+ ARRAY_SIZE(rb4xx_microsd_info));
+
platform_device_register(&rb4xx_spi_device);
platform_device_register(&rb4xx_nand_device);