summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-01-26 20:48:52 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-01-26 20:48:52 +0000
commit1c92e047c80b742c5cc0d79b0a1ec5cba9347019 (patch)
treeb66fcb4ec660058cc80101b1b248c58061c0f7ae
parent2b50cecea6d8bc99f59f1680e149fc88aecf71ba (diff)
downloadmtk-20170518-1c92e047c80b742c5cc0d79b0a1ec5cba9347019.zip
mtk-20170518-1c92e047c80b742c5cc0d79b0a1ec5cba9347019.tar.gz
mtk-20170518-1c92e047c80b742c5cc0d79b0a1ec5cba9347019.tar.bz2
ramips: register watchdog device on the rt288x boards
SVN-Revision: 25130
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/mach-wzr-agl300nh.c1
2 files changed, 2 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 d940a87..1af3efc 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
@@ -135,6 +135,7 @@ static void __init rt_n15_init(void)
rt288x_eth_data.tx_fc = 1;
rt288x_eth_data.rx_fc = 1;
rt288x_register_ethernet();
+ rt288x_register_wdt();
}
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 2e5f467..f77306d 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
@@ -76,6 +76,7 @@ static void __init wzr_agl300nh_init(void)
rt288x_register_flash(0, &wzr_agl300nh_flash_data);
rt288x_register_wifi();
+ rt288x_register_wdt();
}
MIPS_MACHINE(RAMIPS_MACH_WZR_AGL300NH, "WZR-AGL300NH",