diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-06 00:21:03 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-02-09 11:08:33 +0100 |
commit | cebe41d4b8f8092359de31e241815fcb4b4dc0be (patch) | |
tree | c14cd08f6846e62388c3f1028717108ba0d1bd16 /sound/pci/ad1889.c | |
parent | 350a514787a4516746f738f69bff6aa0d4ac70e9 (diff) | |
download | op-kernel-dev-cebe41d4b8f8092359de31e241815fcb4b4dc0be.zip op-kernel-dev-cebe41d4b8f8092359de31e241815fcb4b4dc0be.tar.gz |
sound: use DEFINE_PCI_DEVICE_TABLE
Use DEFINE_PCI_DEVICE_TABLE() to make PCI device ids go to
.devinit.rodata section, so they can be discarded in some cases,
and make them const.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r-- | sound/pci/ad1889.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index 8f5098f..4382d0f 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c @@ -1048,7 +1048,7 @@ snd_ad1889_remove(struct pci_dev *pci) pci_set_drvdata(pci, NULL); } -static struct pci_device_id snd_ad1889_ids[] = { +static DEFINE_PCI_DEVICE_TABLE(snd_ad1889_ids) = { { PCI_DEVICE(PCI_VENDOR_ID_ANALOG_DEVICES, PCI_DEVICE_ID_AD1889JS) }, { 0, }, }; |