Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 82ced6f

Browse files
Jean Delvaretiwai
authored andcommitted
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>
1 parent 3e1e0a5 commit 82ced6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sound/isa/es1688/es1688.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static int __devexit snd_es1688_remove(struct device *dev, unsigned int n)
193193
static struct isa_driver snd_es1688_driver = {
194194
.match = snd_es1688_match,
195195
.probe = snd_es1688_probe,
196-
.remove = snd_es1688_remove,
196+
.remove = __devexit_p(snd_es1688_remove),
197197
#if 0 /* FIXME */
198198
.suspend = snd_es1688_suspend,
199199
.resume = snd_es1688_resume,

sound/isa/gus/gusextreme.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static int __devexit snd_gusextreme_remove(struct device *dev, unsigned int n)
348348
static struct isa_driver snd_gusextreme_driver = {
349349
.match = snd_gusextreme_match,
350350
.probe = snd_gusextreme_probe,
351-
.remove = snd_gusextreme_remove,
351+
.remove = __devexit_p(snd_gusextreme_remove),
352352
#if 0 /* FIXME */
353353
.suspend = snd_gusextreme_suspend,
354354
.resume = snd_gusextreme_resume,

sound/parisc/harmony.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ static struct parisc_driver snd_harmony_driver = {
10201020
.name = "harmony",
10211021
.id_table = snd_harmony_devtable,
10221022
.probe = snd_harmony_probe,
1023-
.remove = snd_harmony_remove,
1023+
.remove = __devexit_p(snd_harmony_remove),
10241024
};
10251025

10261026
static int __init

0 commit comments

Comments
 (0)