The function snd_sgio2audio_remove is defined using __exit, so don't use __devexit_p but __exit_p to wrap it.
Signed-off-by: Uwe Kleine-König u.kleine-koenig@pengutronix.de Cc: Takashi Iwai tiwai@suse.de Cc: Jaroslav Kysela perex@perex.cz Cc: Figo.zhang figo1802@gmail.com Cc: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org --- sound/mips/sgio2audio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c index e497525..e24ba5a 100644 --- a/sound/mips/sgio2audio.c +++ b/sound/mips/sgio2audio.c @@ -984,7 +984,7 @@ static int __exit snd_sgio2audio_remove(struct platform_device *pdev)
static struct platform_driver sgio2audio_driver = { .probe = snd_sgio2audio_probe, - .remove = __devexit_p(snd_sgio2audio_remove), + .remove = __exit_p(snd_sgio2audio_remove), .driver = { .name = "sgio2audio", .owner = THIS_MODULE,