Commit dbdf03b4 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (10208): zoran: Re-adds udev entry removed by changeset 60b4bde4

Changeset 60b4bde4 removed an unused
struct on zoran driver, when compiled with "Y".

However, as pointed by Jean Delvare <khali@linux-fr.org>, this is
neeeded when the driver is compiled as a module, since udev relies on it
to auto-load the module.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d7e43844
...@@ -153,6 +153,14 @@ MODULE_DESCRIPTION("Zoran-36057/36067 JPEG codec driver"); ...@@ -153,6 +153,14 @@ MODULE_DESCRIPTION("Zoran-36057/36067 JPEG codec driver");
MODULE_AUTHOR("Serguei Miridonov"); MODULE_AUTHOR("Serguei Miridonov");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#if (defined(CONFIG_VIDEO_ZORAN_MODULE) && defined(MODULE))
static struct pci_device_id zr36067_pci_tbl[] = {
{PCI_VENDOR_ID_ZORAN, PCI_DEVICE_ID_ZORAN_36057,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0}
};
MODULE_DEVICE_TABLE(pci, zr36067_pci_tbl);
#endif
int zoran_num; /* number of Buzs in use */ int zoran_num; /* number of Buzs in use */
struct zoran *zoran[BUZ_MAX]; struct zoran *zoran[BUZ_MAX];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment