The Patch is taken from the linux-media mailing list

I changend only the path
Here is the original message:
+This patch adds a module-device-table-entry to the
+technisat-usb2-driver which will help udev to on-demand load the
+driver. This was obviously forgotten during initial commit.
+
+Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
+---

this fixes #1140, this fixes #1300

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Janpopan 2012-10-05 18:54:50 +02:00 committed by Stephan Raue
parent 840e7e8f27
commit a411c2c547

View File

@ -0,0 +1,25 @@
This patch adds a module-device-table-entry to the
technisat-usb2-driver which will help udev to on-demand load the
driver. This was obviously forgotten during initial commit.
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
---
drivers/media/dvb/dvb-usb/technisat-usb2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/dvb/dvb-usb/technisat-usb2.c b/drivers/media/dvb/dvb-usb/technisat-usb2.c
index acefaa8..7a8c8c1 100644
--- a/drivers/media/dvb/dvb-usb/technisat-usb2.c
+++ b/drivers/media/dvb/dvb-usb/technisat-usb2.c
@@ -677,6 +677,7 @@ static struct usb_device_id technisat_usb2_id_table[] = {
{ USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_DVB_S2) },
{ 0 } /* Terminating entry */
};
+MODULE_DEVICE_TABLE(usb, technisat_usb2_id_table);
/* device description */
static struct dvb_usb_device_properties technisat_usb2_devices = {
--
1.7.9.5
--