[WATCHDOG] mv64x60_wdt: Add a module parameter to change nowayout setting
authorDale Farnsworth <dale@farnsworth.org>
Tue, 24 Jul 2007 18:17:23 +0000 (11:17 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 24 Jul 2007 21:16:18 +0000 (21:16 +0000)
commitd37a5c3ddf7f57fdc0632e279eabb1772f89dfc5
treef29706cf27ad179bff4c71cb2d49faf9b44cfa32
parent85d57238d2ff9d95892dd1f266b85d2359d48dcc
[WATCHDOG] mv64x60_wdt: Add a module parameter to change nowayout setting

Also, use the WATCHDOG_NOWAYOUT macro, rather than #ifdefs,
and use __module_get to prevent module unloading if WATCHDOG_NOWAYOUT
is set.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/mv64x60_wdt.c