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>
This commit is contained in:
parent
3e1e0a5dd5
commit
82ced6fd28
|
@ -193,7 +193,7 @@ static int __devexit snd_es1688_remove(struct device *dev, unsigned int n)
|
||||||
static struct isa_driver snd_es1688_driver = {
|
static struct isa_driver snd_es1688_driver = {
|
||||||
.match = snd_es1688_match,
|
.match = snd_es1688_match,
|
||||||
.probe = snd_es1688_probe,
|
.probe = snd_es1688_probe,
|
||||||
.remove = snd_es1688_remove,
|
.remove = __devexit_p(snd_es1688_remove),
|
||||||
#if 0 /* FIXME */
|
#if 0 /* FIXME */
|
||||||
.suspend = snd_es1688_suspend,
|
.suspend = snd_es1688_suspend,
|
||||||
.resume = snd_es1688_resume,
|
.resume = snd_es1688_resume,
|
||||||
|
|
|
@ -348,7 +348,7 @@ static int __devexit snd_gusextreme_remove(struct device *dev, unsigned int n)
|
||||||
static struct isa_driver snd_gusextreme_driver = {
|
static struct isa_driver snd_gusextreme_driver = {
|
||||||
.match = snd_gusextreme_match,
|
.match = snd_gusextreme_match,
|
||||||
.probe = snd_gusextreme_probe,
|
.probe = snd_gusextreme_probe,
|
||||||
.remove = snd_gusextreme_remove,
|
.remove = __devexit_p(snd_gusextreme_remove),
|
||||||
#if 0 /* FIXME */
|
#if 0 /* FIXME */
|
||||||
.suspend = snd_gusextreme_suspend,
|
.suspend = snd_gusextreme_suspend,
|
||||||
.resume = snd_gusextreme_resume,
|
.resume = snd_gusextreme_resume,
|
||||||
|
|
|
@ -1020,7 +1020,7 @@ static struct parisc_driver snd_harmony_driver = {
|
||||||
.name = "harmony",
|
.name = "harmony",
|
||||||
.id_table = snd_harmony_devtable,
|
.id_table = snd_harmony_devtable,
|
||||||
.probe = snd_harmony_probe,
|
.probe = snd_harmony_probe,
|
||||||
.remove = snd_harmony_remove,
|
.remove = __devexit_p(snd_harmony_remove),
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init
|
static int __init
|
||||||
|
|
Loading…
Reference in New Issue