mirror of https://gitee.com/openkylin/linux.git
ALSA: use __devexit_p
Change __devexit to __devexit_p: sound/isa/opl3sa2.c:956: error: expected expression before '__attribute__' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8a465c3239
commit
ea7fc3336b
|
@ -953,7 +953,7 @@ static int snd_opl3sa2_isa_resume(struct device *dev, unsigned int n)
|
||||||
static struct isa_driver snd_opl3sa2_isa_driver = {
|
static struct isa_driver snd_opl3sa2_isa_driver = {
|
||||||
.match = snd_opl3sa2_isa_match,
|
.match = snd_opl3sa2_isa_match,
|
||||||
.probe = snd_opl3sa2_isa_probe,
|
.probe = snd_opl3sa2_isa_probe,
|
||||||
.remove = __devexit( snd_opl3sa2_isa_remove),
|
.remove = __devexit_p(snd_opl3sa2_isa_remove),
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
.suspend = snd_opl3sa2_isa_suspend,
|
.suspend = snd_opl3sa2_isa_suspend,
|
||||||
.resume = snd_opl3sa2_isa_resume,
|
.resume = snd_opl3sa2_isa_resume,
|
||||||
|
|
Loading…
Reference in New Issue