staging: usbip: fixup MODULE_ macros
authormatt mooney <mfm@muteddisk.com>
Fri, 6 May 2011 10:47:56 +0000 (03:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 May 2011 21:26:16 +0000 (14:26 -0700)
Modify description and email address for usbip_common_mod; export
module version number; and modify __init messages slightly.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/stub_main.c
drivers/staging/usbip/usbip_common.c
drivers/staging/usbip/vhci_hcd.c

index 6634e07e0e879061405a8dd87aaafa202e38240d..c139f0e25d8520bc4771cc466ed0049b6eb9f9ae 100644 (file)
@@ -22,7 +22,6 @@
 #include "usbip_common.h"
 #include "stub.h"
 
-/* Version Information */
 #define DRIVER_VERSION "1.0"
 #define DRIVER_AUTHOR "Takahiro Hirofuchi"
 #define DRIVER_DESC "Stub Driver for USB/IP"
@@ -279,7 +278,7 @@ static int __init usb_stub_init(void)
                goto error_usb_register;
        }
 
-       printk(KERN_INFO KBUILD_MODNAME ":" DRIVER_DESC ":" DRIVER_VERSION
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC " " DRIVER_VERSION
               "\n");
 
        init_busid_table();
@@ -320,3 +319,4 @@ module_exit(usb_stub_exit);
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);
 MODULE_LICENSE("GPL");
+MODULE_VERSION(DRIVER_VERSION);
index 5d842f92f5976dcdf1fbf279955fa276c087acd2..b46e9b5d94b919223519180dbe7a89851ba3de0c 100644 (file)
 #include <linux/in.h>
 #include <linux/kthread.h>
 #include <linux/slab.h>
+
 #include "usbip_common.h"
 
-/* version information */
 #define DRIVER_VERSION "1.0"
-#define DRIVER_AUTHOR \
-       "Takahiro Hirofuchi <hirofuchi _at_ users.sourceforge.net>"
-#define DRIVER_DESC "usbip common driver"
+#define DRIVER_AUTHOR "Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>"
+#define DRIVER_DESC "USB/IP Common Driver"
 
 #ifdef CONFIG_USB_IP_DEBUG_ENABLE
 unsigned long usbip_debug_flag = 0xffffffff;
@@ -862,7 +861,8 @@ EXPORT_SYMBOL_GPL(usbip_recv_xbuff);
 
 static int __init usbip_common_init(void)
 {
-       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "" DRIVER_VERSION);
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC " " DRIVER_VERSION
+              "\n");
        return 0;
 }
 
@@ -877,3 +877,4 @@ module_exit(usbip_common_exit);
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);
 MODULE_LICENSE("GPL");
+MODULE_VERSION(DRIVER_VERSION);
index 1c6b6551a82853f39e7b4839dbd622b87f004268..a3e42f841c439c811e65cf215c25b15719911638 100644 (file)
@@ -26,7 +26,6 @@
 #define DRIVER_VERSION "1.0"
 #define DRIVER_AUTHOR "Takahiro Hirofuchi"
 #define DRIVER_DESC "Virtual Host Controller Interface Driver for USB/IP"
-#define DRIVER_LICENCE "GPL"
 
 /*
  * TODO
@@ -1269,4 +1268,5 @@ module_exit(vhci_cleanup);
 
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);
-MODULE_LICENSE(DRIVER_LICENCE);
+MODULE_LICENSE("GPL");
+MODULE_VERSION(DRIVER_VERSION);