[PATCH 57/133] [Jaunty SRU] ARM.imx51 Freescale:ALSA: ASoC - Add missing __devexit annotation to wm8350.c

Brad Figg brad.figg at canonical.com
Thu Jul 9 16:48:47 UTC 2009


From: Takashi Iwai <tiwai at suse.de>

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 <tiwai at suse.de>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
 sound/soc/codecs/wm8350.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index 4bbfb5a..e3989d4 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;
-- 
1.6.0.4





More information about the kernel-team mailing list