diff options
author | Corey Minyard <minyard@acm.org> | 2005-09-06 18:18:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:48 -0400 |
commit | 1fdd75bd6cfa60a54b6db91d9256a711ab52fef3 (patch) | |
tree | e66e22c592fb16b6b64ffb504edcd6e42833cdbf /drivers/char/ipmi/ipmi_watchdog.c | |
parent | 3ae0e0f9b15b95a2c3e64088d2a85e3f4a707681 (diff) |
[PATCH] ipmi: clean up versioning of the IPMI driver
This adds MODULE_VERSION, MODULE_DESCRIPTION, and MODULE_AUTHOR tags to the
IPMI driver modules. Also changes the MODULE_VERSION to remove the
prepended 'v' on each value, consistent with the module versioning policy.
This patch also removes all the version information from everything except
the ipmi_msghandler module.
Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_watchdog.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_watchdog.c | 9 |
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) | |||
1066 | module_exit(ipmi_wdog_exit); | 1063 | module_exit(ipmi_wdog_exit); |
1067 | module_init(ipmi_wdog_init); | 1064 | module_init(ipmi_wdog_init); |
1068 | MODULE_LICENSE("GPL"); | 1065 | MODULE_LICENSE("GPL"); |
1066 | MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>"); | ||
1067 | MODULE_DESCRIPTION("watchdog timer based upon the IPMI interface."); | ||