aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ipmi/ipmi_watchdog.c')
-rw-r--r--drivers/char/ipmi/ipmi_watchdog.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c
index 82d564342084..77ece1f218cd 100644
--- a/drivers/char/ipmi/ipmi_watchdog.c
+++ b/drivers/char/ipmi/ipmi_watchdog.c
@@ -53,8 +53,6 @@
53 53
54#define PFX "IPMI Watchdog: " 54#define PFX "IPMI Watchdog: "
55 55
56#define IPMI_WATCHDOG_VERSION "v33"
57
58/* 56/*
59 * The IPMI command/response information for the watchdog timer. 57 * The IPMI command/response information for the watchdog timer.
60 */ 58 */
@@ -928,9 +926,6 @@ static int __init ipmi_wdog_init(void)
928{ 926{
929 int rv; 927 int rv;
930 928
931 printk(KERN_INFO PFX "driver version "
932 IPMI_WATCHDOG_VERSION "\n");
933
934 if (strcmp(action, "reset") == 0) { 929 if (strcmp(action, "reset") == 0) {
935 action_val = WDOG_TIMEOUT_RESET; 930 action_val = WDOG_TIMEOUT_RESET;
936 } else if (strcmp(action, "none") == 0) { 931 } else if (strcmp(action, "none") == 0) {
@@ -1015,6 +1010,8 @@ static int __init ipmi_wdog_init(void)
1015 register_reboot_notifier(&wdog_reboot_notifier); 1010 register_reboot_notifier(&wdog_reboot_notifier);
1016 notifier_chain_register(&panic_notifier_list, &wdog_panic_notifier); 1011 notifier_chain_register(&panic_notifier_list, &wdog_panic_notifier);
1017 1012
1013 printk(KERN_INFO PFX "driver initialized\n");
1014
1018 return 0; 1015 return 0;
1019} 1016}
1020 1017
@@ -1066,3 +1063,5 @@ static void __exit ipmi_wdog_exit(void)
1066module_exit(ipmi_wdog_exit); 1063module_exit(ipmi_wdog_exit);
1067module_init(ipmi_wdog_init); 1064module_init(ipmi_wdog_init);
1068MODULE_LICENSE("GPL"); 1065MODULE_LICENSE("GPL");
1066MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>");
1067MODULE_DESCRIPTION("watchdog timer based upon the IPMI interface.");