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:

کامیت شده توسط
Takashi Iwai

والد
350a514787
کامیت
cebe41d4b8
@@ -286,7 +286,7 @@ struct atiixp {
|
||||
|
||||
/*
|
||||
*/
|
||||
static struct pci_device_id snd_atiixp_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(snd_atiixp_ids) = {
|
||||
{ PCI_VDEVICE(ATI, 0x4341), 0 }, /* SB200 */
|
||||
{ PCI_VDEVICE(ATI, 0x4361), 0 }, /* SB300 */
|
||||
{ PCI_VDEVICE(ATI, 0x4370), 0 }, /* SB400 */
|
||||
|
مرجع در شماره جدید
Block a user