aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-02 18:15:04 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-10 13:39:25 -0500
commitf1b84d365af6d5ce1898fb7956e2053db14cc96e (patch)
tree5b0eac1e675ef0633555634aa4a2fa222609c4ae /drivers/media/pci/cx25821
parent0c37e736cb869a3a7cc95a2486be73ffc1e1ee7d (diff)
[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/cx25821')
-rw-r--r--drivers/media/pci/cx25821/cx25821-alsa.c2
-rw-r--r--drivers/media/pci/cx25821/cx25821-core.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/cx25821/cx25821-alsa.c b/drivers/media/pci/cx25821/cx25821-alsa.c
index 6e91e84d6bf9..b1e08c3e55cd 100644
--- a/drivers/media/pci/cx25821/cx25821-alsa.c
+++ b/drivers/media/pci/cx25821/cx25821-alsa.c
@@ -618,7 +618,7 @@ static int snd_cx25821_pcm(struct cx25821_audio_dev *chip, int device,
618 * Only boards with eeprom and byte 1 at eeprom=1 have it 618 * Only boards with eeprom and byte 1 at eeprom=1 have it
619 */ 619 */
620 620
621static DEFINE_PCI_DEVICE_TABLE(cx25821_audio_pci_tbl) = { 621static const struct pci_device_id cx25821_audio_pci_tbl[] = {
622 {0x14f1, 0x0920, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, 622 {0x14f1, 0x0920, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
623 {0,} 623 {0,}
624}; 624};
diff --git a/drivers/media/pci/cx25821/cx25821-core.c b/drivers/media/pci/cx25821/cx25821-core.c
index b762c5b2ca10..e81173c41e5a 100644
--- a/drivers/media/pci/cx25821/cx25821-core.c
+++ b/drivers/media/pci/cx25821/cx25821-core.c
@@ -1361,7 +1361,7 @@ static void cx25821_finidev(struct pci_dev *pci_dev)
1361 kfree(dev); 1361 kfree(dev);
1362} 1362}
1363 1363
1364static DEFINE_PCI_DEVICE_TABLE(cx25821_pci_tbl) = { 1364static const struct pci_device_id cx25821_pci_tbl[] = {
1365 { 1365 {
1366 /* CX25821 Athena */ 1366 /* CX25821 Athena */
1367 .vendor = 0x14f1, 1367 .vendor = 0x14f1,