diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2009-03-18 04:35:09 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-03-25 05:07:04 -0400 |
commit | 143a2e54bf53216674eada16e8953f48b159e08a (patch) | |
tree | 009497fad6a7d28aae80f490007ce78736afb82c /drivers/watchdog/sc1200wdt.c | |
parent | d5c26a597782d4109869abbcc36983969f964864 (diff) |
[WATCHDOG] More coding-style and trivial clean-up
Some more cleaning-up of the watchdog drivers.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sc1200wdt.c')
-rw-r--r-- | drivers/watchdog/sc1200wdt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/watchdog/sc1200wdt.c b/drivers/watchdog/sc1200wdt.c index 23da3ccd832a..b5e19c1820a2 100644 --- a/drivers/watchdog/sc1200wdt.c +++ b/drivers/watchdog/sc1200wdt.c | |||
@@ -71,7 +71,7 @@ | |||
71 | #define UART2_IRQ 0x04 /* Serial1 */ | 71 | #define UART2_IRQ 0x04 /* Serial1 */ |
72 | /* 5 -7 are reserved */ | 72 | /* 5 -7 are reserved */ |
73 | 73 | ||
74 | static char banner[] __initdata = KERN_INFO PFX SC1200_MODULE_VER; | 74 | static char banner[] __initdata = PFX SC1200_MODULE_VER; |
75 | static int timeout = 1; | 75 | static int timeout = 1; |
76 | static int io = -1; | 76 | static int io = -1; |
77 | static int io_len = 2; /* for non plug and play */ | 77 | static int io_len = 2; /* for non plug and play */ |
@@ -392,7 +392,7 @@ static int __init sc1200wdt_init(void) | |||
392 | { | 392 | { |
393 | int ret; | 393 | int ret; |
394 | 394 | ||
395 | printk("%s\n", banner); | 395 | printk(KERN_INFO "%s\n", banner); |
396 | 396 | ||
397 | #if defined CONFIG_PNP | 397 | #if defined CONFIG_PNP |
398 | if (isapnp) { | 398 | if (isapnp) { |
@@ -477,6 +477,7 @@ module_init(sc1200wdt_init); | |||
477 | module_exit(sc1200wdt_exit); | 477 | module_exit(sc1200wdt_exit); |
478 | 478 | ||
479 | MODULE_AUTHOR("Zwane Mwaikambo <zwane@commfireservices.com>"); | 479 | MODULE_AUTHOR("Zwane Mwaikambo <zwane@commfireservices.com>"); |
480 | MODULE_DESCRIPTION("Driver for National Semiconductor PC87307/PC97307 watchdog component"); | 480 | MODULE_DESCRIPTION( |
481 | "Driver for National Semiconductor PC87307/PC97307 watchdog component"); | ||
481 | MODULE_LICENSE("GPL"); | 482 | MODULE_LICENSE("GPL"); |
482 | MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); | 483 | MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); |