From: Kenrik Kretzschmar Date: Mon, 24 Apr 2006 13:59:38 +0000 (+0200) Subject: [ALSA] adding __devinitdata to pci_device_id X-Git-Tag: MMI-PSA29.97-13-9~49921^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2bbbc0c3c9554ac70e96ec3effae60124f0f009;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [ALSA] adding __devinitdata to pci_device_id Refering to /Documentation/pci.txt the struct pci_device_id can be released after loading the module. Signed-off-by: Kenrik Kretzschmar Signed-off-by: Takashi Iwai --- 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 @@