aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-14 07:43:10 +0000
committerJohn Crispin <john@openwrt.org>2015-07-14 07:43:10 +0000
commitd5d3b5e49cf7f7ea8c46605236cbe06eaa850d42 (patch)
treef9d68e440f707d5ee0cd3015f8bf542650735ee1 /target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch
parent023b0e0b38e9a6a9f30d04576ad665ac053b3661 (diff)
downloadupstream-d5d3b5e49cf7f7ea8c46605236cbe06eaa850d42.tar.gz
upstream-d5d3b5e49cf7f7ea8c46605236cbe06eaa850d42.tar.bz2
upstream-d5d3b5e49cf7f7ea8c46605236cbe06eaa850d42.zip
gemini: add 4.1 support
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46353
Diffstat (limited to 'target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch')
-rw-r--r--target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch b/target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch
new file mode 100644
index 0000000000..74564b199e
--- /dev/null
+++ b/target/linux/gemini/patches-4.1/112-arm-gemini-register-watchdog-devices.patch
@@ -0,0 +1,40 @@
+--- a/arch/arm/mach-gemini/board-nas4220b.c
++++ b/arch/arm/mach-gemini/board-nas4220b.c
+@@ -95,6 +95,7 @@ static void __init ib4220b_init(void)
+ platform_device_register(&ib4220b_led_device);
+ platform_device_register(&ib4220b_key_device);
+ platform_register_rtc();
++ platform_register_watchdog();
+ }
+
+ MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B")
+--- a/arch/arm/mach-gemini/board-wbd111.c
++++ b/arch/arm/mach-gemini/board-wbd111.c
+@@ -122,6 +122,7 @@ static void __init wbd111_init(void)
+ platform_device_register(&wbd111_leds_device);
+ platform_device_register(&wbd111_keys_device);
+ platform_register_rtc();
++ platform_register_watchdog();
+ }
+
+ MACHINE_START(WBD111, "Wiliboard WBD-111")
+--- a/arch/arm/mach-gemini/board-wbd222.c
++++ b/arch/arm/mach-gemini/board-wbd222.c
+@@ -122,6 +122,7 @@ static void __init wbd222_init(void)
+ platform_device_register(&wbd222_leds_device);
+ platform_device_register(&wbd222_keys_device);
+ platform_register_rtc();
++ platform_register_watchdog();
+ }
+
+ MACHINE_START(WBD222, "Wiliboard WBD-222")
+--- a/arch/arm/mach-gemini/board-rut1xx.c
++++ b/arch/arm/mach-gemini/board-rut1xx.c
+@@ -80,6 +80,7 @@ static void __init rut1xx_init(void)
+ platform_device_register(&rut1xx_leds);
+ platform_device_register(&rut1xx_keys_device);
+ platform_register_rtc();
++ platform_register_watchdog();
+ }
+
+ MACHINE_START(RUT100, "Teltonika RUT100")