diff options
Diffstat (limited to 'drivers/usb/serial/funsoft.c')
-rw-r--r-- | drivers/usb/serial/funsoft.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/usb/serial/funsoft.c b/drivers/usb/serial/funsoft.c index 4577b3607922..235707961ca3 100644 --- a/drivers/usb/serial/funsoft.c +++ b/drivers/usb/serial/funsoft.c | |||
@@ -24,13 +24,6 @@ static const struct usb_device_id id_table[] = { | |||
24 | }; | 24 | }; |
25 | MODULE_DEVICE_TABLE(usb, id_table); | 25 | MODULE_DEVICE_TABLE(usb, id_table); |
26 | 26 | ||
27 | static struct usb_driver funsoft_driver = { | ||
28 | .name = "funsoft", | ||
29 | .probe = usb_serial_probe, | ||
30 | .disconnect = usb_serial_disconnect, | ||
31 | .id_table = id_table, | ||
32 | }; | ||
33 | |||
34 | static struct usb_serial_driver funsoft_device = { | 27 | static struct usb_serial_driver funsoft_device = { |
35 | .driver = { | 28 | .driver = { |
36 | .owner = THIS_MODULE, | 29 | .owner = THIS_MODULE, |
@@ -44,7 +37,7 @@ static struct usb_serial_driver * const serial_drivers[] = { | |||
44 | &funsoft_device, NULL | 37 | &funsoft_device, NULL |
45 | }; | 38 | }; |
46 | 39 | ||
47 | module_usb_serial_driver(funsoft_driver, serial_drivers); | 40 | module_usb_serial_driver(serial_drivers, id_table); |
48 | 41 | ||
49 | MODULE_LICENSE("GPL"); | 42 | MODULE_LICENSE("GPL"); |
50 | 43 | ||