diff options
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 13f6592be685..0c4881d18cd5 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -37,7 +37,6 @@ | |||
37 | /* | 37 | /* |
38 | * Version Information | 38 | * Version Information |
39 | */ | 39 | */ |
40 | #define DRIVER_VERSION "v2.0" | ||
41 | #define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/" | 40 | #define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/" |
42 | #define DRIVER_DESC "USB Serial Driver core" | 41 | #define DRIVER_DESC "USB Serial Driver core" |
43 | 42 | ||
@@ -406,7 +405,7 @@ static int serial_read_proc (char *page, char **start, off_t off, int count, int | |||
406 | char tmp[40]; | 405 | char tmp[40]; |
407 | 406 | ||
408 | dbg("%s", __FUNCTION__); | 407 | dbg("%s", __FUNCTION__); |
409 | length += sprintf (page, "usbserinfo:1.0 driver:%s\n", DRIVER_VERSION); | 408 | length += sprintf (page, "usbserinfo:1.0 driver:2.0\n"); |
410 | for (i = 0; i < SERIAL_TTY_MINORS && length < PAGE_SIZE; ++i) { | 409 | for (i = 0; i < SERIAL_TTY_MINORS && length < PAGE_SIZE; ++i) { |
411 | serial = usb_serial_get_by_index(i); | 410 | serial = usb_serial_get_by_index(i); |
412 | if (serial == NULL) | 411 | if (serial == NULL) |
@@ -1025,7 +1024,7 @@ static int __init usb_serial_init(void) | |||
1025 | goto exit_generic; | 1024 | goto exit_generic; |
1026 | } | 1025 | } |
1027 | 1026 | ||
1028 | info(DRIVER_DESC " " DRIVER_VERSION); | 1027 | info(DRIVER_DESC); |
1029 | 1028 | ||
1030 | return result; | 1029 | return result; |
1031 | 1030 | ||
@@ -1127,7 +1126,6 @@ EXPORT_SYMBOL_GPL(usb_serial_port_softint); | |||
1127 | /* Module information */ | 1126 | /* Module information */ |
1128 | MODULE_AUTHOR( DRIVER_AUTHOR ); | 1127 | MODULE_AUTHOR( DRIVER_AUTHOR ); |
1129 | MODULE_DESCRIPTION( DRIVER_DESC ); | 1128 | MODULE_DESCRIPTION( DRIVER_DESC ); |
1130 | MODULE_VERSION( DRIVER_VERSION ); | ||
1131 | MODULE_LICENSE("GPL"); | 1129 | MODULE_LICENSE("GPL"); |
1132 | 1130 | ||
1133 | module_param(debug, bool, S_IRUGO | S_IWUSR); | 1131 | module_param(debug, bool, S_IRUGO | S_IWUSR); |