diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-31 08:40:23 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-31 08:40:23 +0000 |
commit | 21a793245cd323f70024381593e88d2c8b814452 (patch) | |
tree | 8a7e6552639d25fb42b074885d1b9a6ff34ecbe3 | |
parent | d06a46616e65d25e3f6da187047205fe21e75350 (diff) | |
download | upstream-21a793245cd323f70024381593e88d2c8b814452.tar.gz upstream-21a793245cd323f70024381593e88d2c8b814452.tar.bz2 upstream-21a793245cd323f70024381593e88d2c8b814452.zip |
ramips: register wifi device for the RT2880 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20625 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c | 2 | ||||
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c index d6bebf494a..1a869afacf 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c @@ -125,6 +125,8 @@ static void __init rt_n15_init(void) rt_n15_gpio_buttons); platform_device_register(&rt_n15_rtl8366s_device); + + rt288x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_RT_N15, "RT-N15", "Asus RT-N15", rt_n15_init); diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c index d37af91ab7..2e5f467448 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c @@ -75,6 +75,7 @@ static void __init wzr_agl300nh_init(void) rt288x_gpio_init(RT2880_GPIO_MODE_UART0); rt288x_register_flash(0, &wzr_agl300nh_flash_data); + rt288x_register_wifi(); } MIPS_MACHINE(RAMIPS_MACH_WZR_AGL300NH, "WZR-AGL300NH", |