diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-02 20:15:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-10 16:39:25 -0200 |
commit | f1b84d365af6d5ce1898fb7956e2053db14cc96e (patch) | |
tree | 5b0eac1e675ef0633555634aa4a2fa222609c4ae /drivers/media/pci/sta2x11 | |
parent | 0c37e736cb869a3a7cc95a2486be73ffc1e1ee7d (diff) | |
download | talos-op-linux-f1b84d365af6d5ce1898fb7956e2053db14cc96e.tar.gz talos-op-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.c | 2 |
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,} }; |