aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commitc9157a2388b693f43befe21a3d6e2ed0a037e0a3 (patch)
treee94e2702ff3e43f3d07f0357da6529a4ca9e8ea8 /target
parentc5bae90408719c42aeff0af57ef5c6fb07658e16 (diff)
downloadupstream-c9157a2388b693f43befe21a3d6e2ed0a037e0a3.tar.gz
upstream-c9157a2388b693f43befe21a3d6e2ed0a037e0a3.tar.bz2
upstream-c9157a2388b693f43befe21a3d6e2ed0a037e0a3.zip
ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 3f02be791e..1a61b458d5 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);