ramips: register watchdog device on the rt288x boards
authorGabor Juhos <juhosg@openwrt.org>
Wed, 26 Jan 2011 20:48:52 +0000 (20:48 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 26 Jan 2011 20:48:52 +0000 (20:48 +0000)
SVN-Revision: 25130

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 d940a8724d3d5b800ccceb2920a3b62d917632ce..1af3efc785f76b7ed5c9c8389eea0646ded8b29e 100644 (file)
@@ -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);
index 2e5f4674483c876207b2b2649e0eada4347fbfc0..f77306daa98ee02330662d7c80b3efe73047676d 100644 (file)
@@ -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",