summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-31 08:40:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-31 08:40:23 +0000
commita9f313edea8f8e342db5572063d78efd8b315b75 (patch)
tree97a3392d56ffe1a597c7bf1d64275b3f52a169d7
parent9f3d673dbc8c4de38c4223cad0aff12d72ae5253 (diff)
downloadmtk-20170518-a9f313edea8f8e342db5572063d78efd8b315b75.zip
mtk-20170518-a9f313edea8f8e342db5572063d78efd8b315b75.tar.gz
mtk-20170518-a9f313edea8f8e342db5572063d78efd8b315b75.tar.bz2
ramips: register wifi device for the RT2880 based boards
SVN-Revision: 20625
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c2
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c1
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 d6bebf4..1a869af 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 d37af91..2e5f467 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",