mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
350a514787
commit
cebe41d4b8
67 changed files with 70 additions and 70 deletions
|
|
@ -198,7 +198,7 @@ MODULE_LICENSE("GPL");
|
|||
* 5530 only. The 5510/5520 decode is different.
|
||||
*/
|
||||
|
||||
static struct pci_device_id id_tbl[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(id_tbl) = {
|
||||
{ PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_AUDIO), 0 },
|
||||
{ }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue