From 764aa3fe9cf3417eadafbb4668986ba1ab387ba0 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 26 Jan 2011 20:48:47 +0000 Subject: [PATCH] ramips: register watchdog device on the rt305x boards SVN-Revision: 25128 --- .../ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-f5d8235-v2.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | 1 + target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c | 1 + .../linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c | 1 + 7 files changed, 7 insertions(+) diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c index d1c015f88a..d443e4ff52 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c @@ -117,6 +117,7 @@ static void __init dir_300b_init(void) ARRAY_SIZE(dir_300b_gpio_buttons), dir_300b_gpio_buttons); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_DIR_300_REVB, "DIR-300-revB", "D-Link DIR-300 revB", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-f5d8235-v2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-f5d8235-v2.c index 90c48adb16..e8c0297d17 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-f5d8235-v2.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-f5d8235-v2.c @@ -135,6 +135,7 @@ static void __init f5d8235v2_init(void) rt305x_register_ethernet(); platform_device_register(&f5d8235v2_switch); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_F5D8235_V2, "F5D8235_V2", "Belkin F5D8235 v2", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c index 9de07d36b8..9fc6a33a6f 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c @@ -120,6 +120,7 @@ static void __init fonera20n_init(void) rt305x_register_ethernet(); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_FONERA20N, "FONERA20N", "La Fonera 2.0N", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c index 090a797683..e40c8a850c 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-pwh2004.c @@ -97,6 +97,7 @@ static void __init pwh2004_init(void) pwh2004_gpio_buttons); rt305x_register_ethernet(); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_PWH2004, "PWH2004", "Prolink PWH2004", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c index 8c4d18214f..b451723c10 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-v22rw-2x2.c @@ -111,6 +111,7 @@ static void __init v22rw_2x2_init(void) ARRAY_SIZE(v22rw_2x2_gpio_buttons), v22rw_2x2_gpio_buttons); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_V22RW_2X2, "V22RW-2X2", "Ralink AP-RT3052-V22RW-2X2", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c index 3c3319b108..2358a5cb44 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c @@ -62,6 +62,7 @@ static void __init wcr150gn_init(void) rt305x_register_flash(0, &wcr150gn_flash_data); rt305x_register_ethernet(); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_WCR150GN, "WCR150GN", "Sparklan WCR-150GN", diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c index a8c171c849..c544026856 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-whr-g300n.c @@ -137,6 +137,7 @@ static void __init whr_g300n_init(void) ARRAY_SIZE(whr_g300n_gpio_buttons), whr_g300n_gpio_buttons); rt305x_register_wifi(); + rt305x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_WHR_G300N, "WHR-G300N", "Buffalo WHR-G300N", -- 2.30.2