]> err.no Git - linux-2.6/commitdiff
V4L/DVB (3549): Make hotplug automatically load the b2c2-flexcop-usb module
authorPatrick Boettcher <pb@linuxtv.org>
Sat, 18 Mar 2006 17:13:22 +0000 (14:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 24 Mar 2006 19:26:51 +0000 (16:26 -0300)
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>
drivers/media/dvb/b2c2/flexcop-usb.c

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