aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-06-26 05:43:52 -0400
committerJaroslav Kysela <perex@suse.cz>2007-07-20 05:11:38 -0400
commit076c0e4fd80a43f64710fe9aabdc4c463b7f8621 (patch)
tree95bbebd5da94473c8b9fa5d36cbd8bf1afaedf43 /sound/pci
parentf8f794ab27dd3c6d9965ec5434775ead23d3d7a2 (diff)
[ALSA] fix ensoniq section mismatch
Fix ensoniq driver sections when HOTPLUG=n, but code is used during resume, so it cannot be discarded: WARNING: sound/pci/snd-ens1371.o(.text+0x5c0): Section mismatch: reference to .init.text: (between 'snd_ensoniq_chip_init' and 'snd_ensoniq_free') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/ens1370.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c
index 7c403965153b..21cb4268a59b 100644
--- a/sound/pci/ens1370.c
+++ b/sound/pci/ens1370.c
@@ -1607,8 +1607,8 @@ struct es1371_quirk {
1607 unsigned char rev; /* revision */ 1607 unsigned char rev; /* revision */
1608}; 1608};
1609 1609
1610static int __devinit es1371_quirk_lookup(struct ensoniq *ensoniq, 1610static int es1371_quirk_lookup(struct ensoniq *ensoniq,
1611 struct es1371_quirk *list) 1611 struct es1371_quirk *list)
1612{ 1612{
1613 while (list->vid != (unsigned short)PCI_ANY_ID) { 1613 while (list->vid != (unsigned short)PCI_ANY_ID) {
1614 if (ensoniq->pci->vendor == list->vid && 1614 if (ensoniq->pci->vendor == list->vid &&