diff options
Diffstat (limited to 'drivers/usb/serial/hp4x.c')
-rw-r--r-- | drivers/usb/serial/hp4x.c | 9 |
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 | ||
37 | MODULE_DEVICE_TABLE(usb, id_table); | 37 | MODULE_DEVICE_TABLE(usb, id_table); |
38 | 38 | ||
39 | static 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 | |||
46 | static struct usb_serial_driver hp49gp_device = { | 39 | static 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 | ||
59 | module_usb_serial_driver(hp49gp_driver, serial_drivers); | 52 | module_usb_serial_driver(serial_drivers, id_table); |
60 | 53 | ||
61 | MODULE_DESCRIPTION(DRIVER_DESC); | 54 | MODULE_DESCRIPTION(DRIVER_DESC); |
62 | MODULE_VERSION(DRIVER_VERSION); | 55 | MODULE_VERSION(DRIVER_VERSION); |