aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/hp4x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/hp4x.c')
-rw-r--r--drivers/usb/serial/hp4x.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/usb/serial/hp4x.c b/drivers/usb/serial/hp4x.c
index 2563e788c9b..0bbaf21a9d1 100644
--- a/drivers/usb/serial/hp4x.c
+++ b/drivers/usb/serial/hp4x.c
@@ -36,13 +36,6 @@ static const struct usb_device_id id_table[] = {
36 36
37MODULE_DEVICE_TABLE(usb, id_table); 37MODULE_DEVICE_TABLE(usb, id_table);
38 38
39static struct usb_driver hp49gp_driver = {
40 .name = "hp4X",
41 .probe = usb_serial_probe,
42 .disconnect = usb_serial_disconnect,
43 .id_table = id_table,
44};
45
46static struct usb_serial_driver hp49gp_device = { 39static struct usb_serial_driver hp49gp_device = {
47 .driver = { 40 .driver = {
48 .owner = THIS_MODULE, 41 .owner = THIS_MODULE,
@@ -56,7 +49,7 @@ static struct usb_serial_driver * const serial_drivers[] = {
56 &hp49gp_device, NULL 49 &hp49gp_device, NULL
57}; 50};
58 51
59module_usb_serial_driver(hp49gp_driver, serial_drivers); 52module_usb_serial_driver(serial_drivers, id_table);
60 53
61MODULE_DESCRIPTION(DRIVER_DESC); 54MODULE_DESCRIPTION(DRIVER_DESC);
62MODULE_VERSION(DRIVER_VERSION); 55MODULE_VERSION(DRIVER_VERSION);