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/ctxfi | |
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/ctxfi')
-rw-r--r-- | sound/pci/ctxfi/xfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/xfi.c b/sound/pci/ctxfi/xfi.c index ed44ed7..f42e7e1 100644 --- a/sound/pci/ctxfi/xfi.c +++ b/sound/pci/ctxfi/xfi.c @@ -43,7 +43,7 @@ MODULE_PARM_DESC(enable, "Enable Creative X-Fi driver"); module_param_array(subsystem, int, NULL, 0444); MODULE_PARM_DESC(subsystem, "Override subsystem ID for Creative X-Fi driver"); -static struct pci_device_id ct_pci_dev_ids[] = { +static DEFINE_PCI_DEVICE_TABLE(ct_pci_dev_ids) = { /* only X-Fi is supported, so... */ { PCI_DEVICE(PCI_VENDOR_ID_CREATIVE, PCI_DEVICE_ID_CREATIVE_20K1), .driver_data = ATC20K1, |