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:
@@ -69,7 +69,7 @@ static const struct firmware card_fw[] = {
|
||||
{0, "indigo_iox_dsp.fw"}
|
||||
};
|
||||
|
||||
static struct pci_device_id snd_echo_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(snd_echo_ids) = {
|
||||
{0x1057, 0x3410, 0xECC0, 0x00D0, 0, 0, 0}, /* Indigo IOx */
|
||||
{0,}
|
||||
};
|
||||
|
Reference in New Issue
Block a user