提交 76e9741d 编写于 作者: J Joe Perches 提交者: Mauro Carvalho Chehab

V4L/DVB (12204): bttv and meye: Use PCI_VDEVICE

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 0389b34e
...@@ -4593,14 +4593,10 @@ static int bttv_resume(struct pci_dev *pci_dev) ...@@ -4593,14 +4593,10 @@ static int bttv_resume(struct pci_dev *pci_dev)
#endif #endif
static struct pci_device_id bttv_pci_tbl[] = { static struct pci_device_id bttv_pci_tbl[] = {
{PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT848, {PCI_VDEVICE(BROOKTREE, PCI_DEVICE_ID_BT848), 0},
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_VDEVICE(BROOKTREE, PCI_DEVICE_ID_BT849), 0},
{PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT849, {PCI_VDEVICE(BROOKTREE, PCI_DEVICE_ID_BT878), 0},
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_VDEVICE(BROOKTREE, PCI_DEVICE_ID_BT879), 0},
{PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT878,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT879,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0,} {0,}
}; };
......
...@@ -1915,8 +1915,7 @@ static void __devexit meye_remove(struct pci_dev *pcidev) ...@@ -1915,8 +1915,7 @@ static void __devexit meye_remove(struct pci_dev *pcidev)
} }
static struct pci_device_id meye_pci_tbl[] = { static struct pci_device_id meye_pci_tbl[] = {
{ PCI_VENDOR_ID_KAWASAKI, PCI_DEVICE_ID_MCHIP_KL5A72002, { PCI_VDEVICE(KAWASAKI, PCI_DEVICE_ID_MCHIP_KL5A72002), 0 },
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ } { }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册