Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2bbbc0c authored by Henrik Kretzschmar's avatar Henrik Kretzschmar Committed by Jaroslav Kysela
Browse files

[ALSA] adding __devinitdata to pci_device_id



Refering to <kernelsource>/Documentation/pci.txt
the struct pci_device_id can be released after loading the module.

Signed-off-by: default avatarKenrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 396c9b92
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1172,7 +1172,7 @@
  }        

  /* PCI IDs */
  static struct pci_device_id snd_mychip_ids[] = {
  static struct pci_device_id snd_mychip_ids[] __devinitdata = {
          { PCI_VENDOR_ID_FOO, PCI_DEVICE_ID_BAR,
            PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
          ....
@@ -1565,7 +1565,7 @@
        <informalexample>
          <programlisting>
<![CDATA[
  static struct pci_device_id snd_mychip_ids[] = {
  static struct pci_device_id snd_mychip_ids[] __devinitdata = {
          { PCI_VENDOR_ID_FOO, PCI_DEVICE_ID_BAR,
            PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
          ....