Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249602
b: refs/heads/master
c: 6973c6f
h: refs/heads/master
v: v3
  • Loading branch information
matt mooney authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 93aedb4 commit c8ae310
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 981f30cc9b93fbf1f722f31276ddb19b95a30ddd
refs/heads/master: 6973c6f24e105f1bdf811ec2320d2de8798145ee
5 changes: 2 additions & 3 deletions trunk/drivers/staging/usbip/stub_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "usbip_common.h"
#include "stub.h"

#define DRIVER_VERSION "1.0"
#define DRIVER_AUTHOR "Takahiro Hirofuchi"
#define DRIVER_DESC "Stub Driver for USB/IP"

Expand Down Expand Up @@ -278,7 +277,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 " " USBIP_VERSION
"\n");

init_busid_table();
Expand Down Expand Up @@ -319,4 +318,4 @@ module_exit(usb_stub_exit);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
MODULE_VERSION(DRIVER_VERSION);
MODULE_VERSION(USBIP_VERSION);
5 changes: 2 additions & 3 deletions trunk/drivers/staging/usbip/usbip_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include "usbip_common.h"

#define DRIVER_VERSION "1.0"
#define DRIVER_AUTHOR "Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>"
#define DRIVER_DESC "USB/IP Common Driver"

Expand Down Expand Up @@ -861,7 +860,7 @@ 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 " " USBIP_VERSION
"\n");
return 0;
}
Expand All @@ -877,4 +876,4 @@ module_exit(usbip_common_exit);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
MODULE_VERSION(DRIVER_VERSION);
MODULE_VERSION(USBIP_VERSION);
2 changes: 2 additions & 0 deletions trunk/drivers/staging/usbip/usbip_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <asm/byteorder.h>
#include <net/sock.h>

#define USBIP_VERSION "1.0.0"

/**
* usbip_udbg - print debug messages if CONFIG_USB_IP_DEBUG is defined
* @fmt:
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/staging/usbip/vhci_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "usbip_common.h"
#include "vhci.h"

#define DRIVER_VERSION "1.0"
#define DRIVER_AUTHOR "Takahiro Hirofuchi"
#define DRIVER_DESC "Virtual Host Controller Interface Driver for USB/IP"

Expand Down Expand Up @@ -1232,7 +1231,7 @@ static int __init vhci_init(void)
return -ENODEV;

printk(KERN_INFO KBUILD_MODNAME ": %s, %s\n", driver_name,
DRIVER_VERSION);
USBIP_VERSION);

ret = platform_driver_register(&vhci_driver);
if (ret < 0)
Expand Down Expand Up @@ -1269,4 +1268,4 @@ module_exit(vhci_cleanup);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
MODULE_VERSION(DRIVER_VERSION);
MODULE_VERSION(USBIP_VERSION);

0 comments on commit c8ae310

Please sign in to comment.