watchdog: gpio_wdt: Add option for early registration
authorJean-Baptiste Theou <jtheou@adeneo-embedded.us>
Tue, 9 Jun 2015 16:55:03 +0000 (09:55 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 29 Jun 2015 09:51:08 +0000 (11:51 +0200)
commit5e53c8ed813d6100d2cebbf83f2192b201f70772
treea3f50d148b509630f598258ba0c06189a36d6f28
parentef90174f821041313d42d99c1c8b35a3af64a910
watchdog: gpio_wdt: Add option for early registration

In some situation, mainly when it's not possible to disable a
watchdog, you may want the watchdog driver to be started as soon
as possible.

Adding GPIO_WATCHDOG_ARCH_INITCALL to raise initcall from
module_init to arch_initcall.

This patch require watchdog registration deferral mechanism

Signed-off-by: Jean-Baptiste Theou <jtheou@adeneo-embedded.us>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig
drivers/watchdog/gpio_wdt.c