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>
This commit is contained in:

committed by
Takashi Iwai

parent
350a514787
commit
cebe41d4b8
@@ -242,7 +242,7 @@ struct sonicvibes {
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct pci_device_id snd_sonic_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(snd_sonic_ids) = {
|
||||
{ PCI_VDEVICE(S3, 0xca00), 0, },
|
||||
{ 0, }
|
||||
};
|
||||
|
Reference in New Issue
Block a user