diff options
author | Kenrik Kretzschmar <henne@nachtwindheim.de> | 2006-04-24 15:59:38 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-04-27 21:10:38 +0200 |
commit | a2bbbc0c3c9554ac70e96ec3effae60124f0f009 (patch) | |
tree | 0d9221706e37f623056cb0cf2098c4ac0fe381ea /Documentation/sound | |
parent | [ALSA] add __devinitdata to all pci_device_id (diff) | |
download | linux-a2bbbc0c3c9554ac70e96ec3effae60124f0f009.tar.xz linux-a2bbbc0c3c9554ac70e96ec3effae60124f0f009.zip |
[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: Kenrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/sound')
-rw-r--r-- | Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl index 68eeebc17ff4..1faf76383bab 100644 --- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl @@ -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, }, .... |