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>
此提交包含在:
@@ -494,7 +494,7 @@ struct cs4281 {
|
||||
|
||||
static irqreturn_t snd_cs4281_interrupt(int irq, void *dev_id);
|
||||
|
||||
static struct pci_device_id snd_cs4281_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(snd_cs4281_ids) = {
|
||||
{ PCI_VDEVICE(CIRRUS, 0x6005), 0, }, /* CS4281 */
|
||||
{ 0, }
|
||||
};
|
||||
|
新增問題並參考
封鎖使用者