summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/sta2x11
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 00:15:04 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-10 19:39:25 +0100
commitf1b84d365af6d5ce1898fb7956e2053db14cc96e (patch)
tree5b0eac1e675ef0633555634aa4a2fa222609c4ae /drivers/media/pci/sta2x11
parent[media] em28xx: add support for the SpeedLink Vicious And Devine Laplace webcams (diff)
downloadlinux-f1b84d365af6d5ce1898fb7956e2053db14cc96e.tar.xz
linux-f1b84d365af6d5ce1898fb7956e2053db14cc96e.zip
[media] media: pci: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/sta2x11')
-rw-r--r--drivers/media/pci/sta2x11/sta2x11_vip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/sta2x11/sta2x11_vip.c b/drivers/media/pci/sta2x11/sta2x11_vip.c
index 77edc113e485..e5cfb6cfa18d 100644
--- a/drivers/media/pci/sta2x11/sta2x11_vip.c
+++ b/drivers/media/pci/sta2x11/sta2x11_vip.c
@@ -1303,7 +1303,7 @@ static int sta2x11_vip_resume(struct pci_dev *pdev)
#endif
-static DEFINE_PCI_DEVICE_TABLE(sta2x11_vip_pci_tbl) = {
+static const struct pci_device_id sta2x11_vip_pci_tbl[] = {
{PCI_DEVICE(PCI_VENDOR_ID_STMICRO, PCI_DEVICE_ID_STMICRO_VIP)},
{0,}
};