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
@@ -64,7 +64,7 @@ MODULE_PARM_DESC(thinkpad, "Force to enable Thinkpad's CLKRUN control.");
|
||||
module_param_array(mmap_valid, bool, NULL, 0444);
|
||||
MODULE_PARM_DESC(mmap_valid, "Support OSS mmap.");
|
||||
|
||||
static struct pci_device_id snd_cs46xx_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(snd_cs46xx_ids) = {
|
||||
{ PCI_VDEVICE(CIRRUS, 0x6001), 0, }, /* CS4280 */
|
||||
{ PCI_VDEVICE(CIRRUS, 0x6003), 0, }, /* CS4612 */
|
||||
{ PCI_VDEVICE(CIRRUS, 0x6004), 0, }, /* CS4615 */
|
||||
|
مرجع در شماره جدید
Block a user