aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/funsoft.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/funsoft.c')
-rw-r--r--drivers/usb/serial/funsoft.c9
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};
25MODULE_DEVICE_TABLE(usb, id_table); 25MODULE_DEVICE_TABLE(usb, id_table);
26 26
27static 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
34static struct usb_serial_driver funsoft_device = { 27static 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
47module_usb_serial_driver(funsoft_driver, serial_drivers); 40module_usb_serial_driver(serial_drivers, id_table);
48 41
49MODULE_LICENSE("GPL"); 42MODULE_LICENSE("GPL");
50 43