summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran/zoran_card.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 00:44:20 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 00:44:20 -0200
commitb368ca4c3ea78c6d07ee807cbf4f33913adfbc30 (patch)
tree438c2c478b64bbcf8339ee4df88f6d944af37f8d /linux/drivers/media/video/zoran/zoran_card.c
parente3acd26b88b26b4b6e00b890278c72a66a6b7c10 (diff)
downloadmediapointer-dvb-s2-b368ca4c3ea78c6d07ee807cbf4f33913adfbc30.tar.gz
mediapointer-dvb-s2-b368ca4c3ea78c6d07ee807cbf4f33913adfbc30.tar.bz2
zoran: fix warning for a variable not used
From: Mauro Carvalho Chehab <mchehab@redhat.com> Fix this warning: drivers/media/video/zoran/zoran_card.c:156: warning: ‘zr36067_pci_tbl’ defined but not used Currently, zoran driver relies on a find routine that doesn't use the pci table. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/zoran/zoran_card.c')
-rw-r--r--linux/drivers/media/video/zoran/zoran_card.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_card.c b/linux/drivers/media/video/zoran/zoran_card.c
index d5026ae51..639fa55e6 100644
--- a/linux/drivers/media/video/zoran/zoran_card.c
+++ b/linux/drivers/media/video/zoran/zoran_card.c
@@ -154,12 +154,14 @@ MODULE_DESCRIPTION("Zoran-36057/36067 JPEG codec driver");
MODULE_AUTHOR("Serguei Miridonov");
MODULE_LICENSE("GPL");
+#if 0
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 */
struct zoran *zoran[BUZ_MAX];