ALSA: Add missing __devexit_p() markers
authorJean Delvare <khali@linux-fr.org>
Thu, 4 Jun 2009 08:46:43 +0000 (10:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Jun 2009 08:52:16 +0000 (10:52 +0200)
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>
sound/isa/es1688/es1688.c
sound/isa/gus/gusextreme.c
sound/parisc/harmony.c

index 442b081cafb755f90ed2181d73cbeea9fe5a2279..07df201ed8fa3d3999074b4415d582539bbe2b1f 100644 (file)
@@ -193,7 +193,7 @@ static int __devexit snd_es1688_remove(struct device *dev, unsigned int n)
 static struct isa_driver snd_es1688_driver = {
        .match          = snd_es1688_match,
        .probe          = snd_es1688_probe,
-       .remove         = snd_es1688_remove,
+       .remove         = __devexit_p(snd_es1688_remove),
 #if 0  /* FIXME */
        .suspend        = snd_es1688_suspend,
        .resume         = snd_es1688_resume,
index 180a8dea6bd94cbec45ba6bcae82282cfe7119fb..65e4b18581a60a93de84efad535836588774a5ec 100644 (file)
@@ -348,7 +348,7 @@ static int __devexit snd_gusextreme_remove(struct device *dev, unsigned int n)
 static struct isa_driver snd_gusextreme_driver = {
        .match          = snd_gusextreme_match,
        .probe          = snd_gusextreme_probe,
-       .remove         = snd_gusextreme_remove,
+       .remove         = __devexit_p(snd_gusextreme_remove),
 #if 0  /* FIXME */
        .suspend        = snd_gusextreme_suspend,
        .resume         = snd_gusextreme_resume,
index 6055fd6d3b38ee90ba6d19895363ef33db38f275..610c43914cf2c69f9740f9cf11e953aca2c6b0a7 100644 (file)
@@ -1020,7 +1020,7 @@ static struct parisc_driver snd_harmony_driver = {
        .name = "harmony",
        .id_table = snd_harmony_devtable,
        .probe = snd_harmony_probe,
-       .remove = snd_harmony_remove,
+       .remove = __devexit_p(snd_harmony_remove),
 };
 
 static int __init