diff options
Diffstat (limited to 'sound/sh')
-rw-r--r-- | sound/sh/aica.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/sh/aica.c b/sound/sh/aica.c index 55031d0a6558..7c920f3e7fe3 100644 --- a/sound/sh/aica.c +++ b/sound/sh/aica.c | |||
@@ -590,7 +590,7 @@ static int __devinit add_aicamixer_controls(struct snd_card_aica | |||
590 | return 0; | 590 | return 0; |
591 | } | 591 | } |
592 | 592 | ||
593 | static int snd_aica_remove(struct platform_device *devptr) | 593 | static int __devexit snd_aica_remove(struct platform_device *devptr) |
594 | { | 594 | { |
595 | struct snd_card_aica *dreamcastcard; | 595 | struct snd_card_aica *dreamcastcard; |
596 | dreamcastcard = platform_get_drvdata(devptr); | 596 | dreamcastcard = platform_get_drvdata(devptr); |
@@ -602,7 +602,7 @@ static int snd_aica_remove(struct platform_device *devptr) | |||
602 | return 0; | 602 | return 0; |
603 | } | 603 | } |
604 | 604 | ||
605 | static int __init snd_aica_probe(struct platform_device *devptr) | 605 | static int __devinit snd_aica_probe(struct platform_device *devptr) |
606 | { | 606 | { |
607 | int err; | 607 | int err; |
608 | struct snd_card_aica *dreamcastcard; | 608 | struct snd_card_aica *dreamcastcard; |
@@ -651,7 +651,7 @@ static int __init snd_aica_probe(struct platform_device *devptr) | |||
651 | 651 | ||
652 | static struct platform_driver snd_aica_driver = { | 652 | static struct platform_driver snd_aica_driver = { |
653 | .probe = snd_aica_probe, | 653 | .probe = snd_aica_probe, |
654 | .remove = snd_aica_remove, | 654 | .remove = __devexit_p(snd_aica_remove), |
655 | .driver = { | 655 | .driver = { |
656 | .name = SND_AICA_DRIVER}, | 656 | .name = SND_AICA_DRIVER}, |
657 | }; | 657 | }; |