aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_msghandler.c
diff options
context:
space:
mode:
authorCorey Minyard <minyard@acm.org>2005-09-06 18:18:42 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:48 -0400
commit1fdd75bd6cfa60a54b6db91d9256a711ab52fef3 (patch)
treee66e22c592fb16b6b64ffb504edcd6e42833cdbf /drivers/char/ipmi/ipmi_msghandler.c
parent3ae0e0f9b15b95a2c3e64088d2a85e3f4a707681 (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_msghandler.c')
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index 84d477c6f925..05293d0e6692 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -47,7 +47,8 @@
47#include <linux/proc_fs.h> 47#include <linux/proc_fs.h>
48 48
49#define PFX "IPMI message handler: " 49#define PFX "IPMI message handler: "
50#define IPMI_MSGHANDLER_VERSION "v33" 50
51#define IPMI_DRIVER_VERSION "36.0"
51 52
52static struct ipmi_recv_msg *ipmi_alloc_recv_msg(void); 53static struct ipmi_recv_msg *ipmi_alloc_recv_msg(void);
53static int ipmi_init_msghandler(void); 54static int ipmi_init_msghandler(void);
@@ -3150,7 +3151,7 @@ static int ipmi_init_msghandler(void)
3150 return 0; 3151 return 0;
3151 3152
3152 printk(KERN_INFO "ipmi message handler version " 3153 printk(KERN_INFO "ipmi message handler version "
3153 IPMI_MSGHANDLER_VERSION "\n"); 3154 IPMI_DRIVER_VERSION "\n");
3154 3155
3155 for (i=0; i<MAX_IPMI_INTERFACES; i++) { 3156 for (i=0; i<MAX_IPMI_INTERFACES; i++) {
3156 ipmi_interfaces[i] = NULL; 3157 ipmi_interfaces[i] = NULL;
@@ -3222,6 +3223,9 @@ module_exit(cleanup_ipmi);
3222 3223
3223module_init(ipmi_init_msghandler_mod); 3224module_init(ipmi_init_msghandler_mod);
3224MODULE_LICENSE("GPL"); 3225MODULE_LICENSE("GPL");
3226MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>");
3227MODULE_DESCRIPTION("Incoming and outgoing message routing for an IPMI interface.");
3228MODULE_VERSION(IPMI_DRIVER_VERSION);
3225 3229
3226EXPORT_SYMBOL(ipmi_create_user); 3230EXPORT_SYMBOL(ipmi_create_user);
3227EXPORT_SYMBOL(ipmi_destroy_user); 3231EXPORT_SYMBOL(ipmi_destroy_user);