diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-04 04:46:43 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-04 04:52:16 -0400 |
commit | 82ced6fd28653ab456c3e5b25e9ef3c1c96cd6e9 (patch) | |
tree | b9d142504aafa35107dbd23691a515ff551cc028 /sound | |
parent | 3e1e0a5dd539f83438078759c8642c5dd7c24cb6 (diff) |
ALSA: Add missing __devexit_p() markers
3 ISA sound drivers lack their __devexit_p() markers, which would
cause build failures when the kernel is built without hotplug support.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/isa/es1688/es1688.c | 2 | ||||
-rw-r--r-- | sound/isa/gus/gusextreme.c | 2 | ||||
-rw-r--r-- | sound/parisc/harmony.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/isa/es1688/es1688.c b/sound/isa/es1688/es1688.c index 442b081cafb7..07df201ed8fa 100644 --- a/sound/isa/es1688/es1688.c +++ b/sound/isa/es1688/es1688.c | |||
@@ -193,7 +193,7 @@ static int __devexit snd_es1688_remove(struct device *dev, unsigned int n) | |||
193 | static struct isa_driver snd_es1688_driver = { | 193 | static struct isa_driver snd_es1688_driver = { |
194 | .match = snd_es1688_match, | 194 | .match = snd_es1688_match, |
195 | .probe = snd_es1688_probe, | 195 | .probe = snd_es1688_probe, |
196 | .remove = snd_es1688_remove, | 196 | .remove = __devexit_p(snd_es1688_remove), |
197 | #if 0 /* FIXME */ | 197 | #if 0 /* FIXME */ |
198 | .suspend = snd_es1688_suspend, | 198 | .suspend = snd_es1688_suspend, |
199 | .resume = snd_es1688_resume, | 199 | .resume = snd_es1688_resume, |
diff --git a/sound/isa/gus/gusextreme.c b/sound/isa/gus/gusextreme.c index 180a8dea6bd9..65e4b18581a6 100644 --- a/sound/isa/gus/gusextreme.c +++ b/sound/isa/gus/gusextreme.c | |||
@@ -348,7 +348,7 @@ static int __devexit snd_gusextreme_remove(struct device *dev, unsigned int n) | |||
348 | static struct isa_driver snd_gusextreme_driver = { | 348 | static struct isa_driver snd_gusextreme_driver = { |
349 | .match = snd_gusextreme_match, | 349 | .match = snd_gusextreme_match, |
350 | .probe = snd_gusextreme_probe, | 350 | .probe = snd_gusextreme_probe, |
351 | .remove = snd_gusextreme_remove, | 351 | .remove = __devexit_p(snd_gusextreme_remove), |
352 | #if 0 /* FIXME */ | 352 | #if 0 /* FIXME */ |
353 | .suspend = snd_gusextreme_suspend, | 353 | .suspend = snd_gusextreme_suspend, |
354 | .resume = snd_gusextreme_resume, | 354 | .resume = snd_gusextreme_resume, |
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c index 6055fd6d3b38..610c43914cf2 100644 --- a/sound/parisc/harmony.c +++ b/sound/parisc/harmony.c | |||
@@ -1020,7 +1020,7 @@ static struct parisc_driver snd_harmony_driver = { | |||
1020 | .name = "harmony", | 1020 | .name = "harmony", |
1021 | .id_table = snd_harmony_devtable, | 1021 | .id_table = snd_harmony_devtable, |
1022 | .probe = snd_harmony_probe, | 1022 | .probe = snd_harmony_probe, |
1023 | .remove = snd_harmony_remove, | 1023 | .remove = __devexit_p(snd_harmony_remove), |
1024 | }; | 1024 | }; |
1025 | 1025 | ||
1026 | static int __init | 1026 | static int __init |