Browse Source

V4L/DVB (3549): Make hotplug automatically load the b2c2-flexcop-usb module

There was no MODULE_DEVICE_TABLE for the b2c2-flexcop-usb module. This makes it
impossible for hotplug to load the module automatically, when such a device is
connected.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Patrick Boettcher 19 years ago
parent
commit
6637e6fd2a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/dvb/b2c2/flexcop-usb.c

+ 1 - 0
drivers/media/dvb/b2c2/flexcop-usb.c

@@ -541,6 +541,7 @@ static struct usb_device_id flexcop_usb_table [] = {
 	    { USB_DEVICE(0x0af7, 0x0101) },
 	    { USB_DEVICE(0x0af7, 0x0101) },
 	    { }
 	    { }
 };
 };
+MODULE_DEVICE_TABLE (usb, flexcop_usb_table);
 
 
 /* usb specific object needed to register this driver with the usb subsystem */
 /* usb specific object needed to register this driver with the usb subsystem */
 static struct usb_driver flexcop_usb_driver = {
 static struct usb_driver flexcop_usb_driver = {