summaryrefslogtreecommitdiff
path: root/drivers/media/pci/cx25821/cx25821-alsa.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-02 20:15:04 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-10 16:39:25 -0200
commitf1b84d365af6d5ce1898fb7956e2053db14cc96e (patch)
tree5b0eac1e675ef0633555634aa4a2fa222609c4ae /drivers/media/pci/cx25821/cx25821-alsa.c
parent0c37e736cb869a3a7cc95a2486be73ffc1e1ee7d (diff)
downloadlwn-f1b84d365af6d5ce1898fb7956e2053db14cc96e.tar.gz
lwn-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/cx25821/cx25821-alsa.c')
-rw-r--r--drivers/media/pci/cx25821/cx25821-alsa.c2
1 files changed, 1 insertions, 1 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,
* Only boards with eeprom and byte 1 at eeprom=1 have it
*/
-static DEFINE_PCI_DEVICE_TABLE(cx25821_audio_pci_tbl) = {
+static const struct pci_device_id cx25821_audio_pci_tbl[] = {
{0x14f1, 0x0920, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0,}
};