From: Takashi Iwai Date: Sat, 20 Dec 2008 15:50:53 +0000 (+0100) Subject: ALSA: ASoC - Add missing __devexit annotation to wm8350.c X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~28581^2~11^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a31501d1041c9d0a6c3f520736ae2b2fa081493a;p=mirror_ubuntu-artful-kernel.git ALSA: ASoC - Add missing __devexit annotation to wm8350.c Added the missing __devexit annotation to wm8350_codec_remove(): sound/soc/codecs/wm8350.c:1546: warning: 'wm8350_codec_remove' defined but not used Signed-off-by: Takashi Iwai --- diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index 4bbfb5a5894b..e3989d406f54 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c @@ -1542,7 +1542,7 @@ err_priv: return ret; } -static int wm8350_codec_remove(struct platform_device *pdev) +static int __devexit wm8350_codec_remove(struct platform_device *pdev) { struct wm8350 *wm8350 = platform_get_drvdata(pdev); struct snd_soc_codec *codec = wm8350->codec.codec;