gemini: add support for 3.8
[openwrt/svn-archive/archive.git] / target / linux / gemini / patches-3.8 / 112-arm-gemini-register-watchdog-devices.patch
1 --- a/arch/arm/mach-gemini/board-nas4220b.c
2 +++ b/arch/arm/mach-gemini/board-nas4220b.c
3 @@ -99,6 +99,7 @@ static void __init ib4220b_init(void)
4 platform_device_register(&ib4220b_led_device);
5 platform_device_register(&ib4220b_key_device);
6 platform_register_rtc();
7 + platform_register_watchdog();
8 }
9
10 MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B")
11 --- a/arch/arm/mach-gemini/board-wbd111.c
12 +++ b/arch/arm/mach-gemini/board-wbd111.c
13 @@ -126,6 +126,7 @@ static void __init wbd111_init(void)
14 platform_device_register(&wbd111_leds_device);
15 platform_device_register(&wbd111_keys_device);
16 platform_register_rtc();
17 + platform_register_watchdog();
18 }
19
20 MACHINE_START(WBD111, "Wiliboard WBD-111")
21 --- a/arch/arm/mach-gemini/board-wbd222.c
22 +++ b/arch/arm/mach-gemini/board-wbd222.c
23 @@ -126,6 +126,7 @@ static void __init wbd222_init(void)
24 platform_device_register(&wbd222_leds_device);
25 platform_device_register(&wbd222_keys_device);
26 platform_register_rtc();
27 + platform_register_watchdog();
28 }
29
30 MACHINE_START(WBD222, "Wiliboard WBD-222")
31 --- a/arch/arm/mach-gemini/board-rut1xx.c
32 +++ b/arch/arm/mach-gemini/board-rut1xx.c
33 @@ -84,6 +84,7 @@ static void __init rut1xx_init(void)
34 platform_device_register(&rut1xx_leds);
35 platform_device_register(&rut1xx_keys_device);
36 platform_register_rtc();
37 + platform_register_watchdog();
38 }
39
40 MACHINE_START(RUT100, "Teltonika RUT100")