ramips: register wifi device for the RT2880 based boards
authorGabor Juhos <juhosg@openwrt.org>
Wed, 31 Mar 2010 08:40:23 +0000 (08:40 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 31 Mar 2010 08:40:23 +0000 (08:40 +0000)
SVN-Revision: 20625

target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c
target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c

index d6bebf494ade15890cd773fd2b83966aea9b54f1..1a869afacf62925d407ed7324e49f5ddd8e2db18 100644 (file)
@@ -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);
index d37af91ab77b51e188861da218ada84d7e45db7b..2e5f4674483c876207b2b2649e0eada4347fbfc0 100644 (file)
@@ -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",