mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ALSA: Fix invalid __exit in sound/mips/*.c
The remove callback has to be marked as __devexit, as the dynamic unbind is possible. Reported-by: Uwe Kleine-König <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
3b04691c2b
commit
2f229a31aa
2 changed files with 2 additions and 2 deletions
|
|
@ -915,7 +915,7 @@ static int __devinit hal2_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int __exit hal2_remove(struct platform_device *pdev)
|
||||
static int __devexit hal2_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_card *card = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
|||
|
|
@ -973,7 +973,7 @@ static int __devinit snd_sgio2audio_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int __exit snd_sgio2audio_remove(struct platform_device *pdev)
|
||||
static int __devexit snd_sgio2audio_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_card *card = platform_get_drvdata(pdev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue