diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2011-04-09 11:03:58 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-11 16:28:54 -0400 |
commit | 90db8ece6a3150228c46aaf1a0f6388bf7434288 (patch) | |
tree | 8f86c0e28d1998fe17c78515fff9bf4ef821d2e5 /sound | |
parent | 68e0c6696c98c0fe548627ad705b098ae1148c2b (diff) |
ASoC: sn95031: decorate function with __devexit_p()
According to the comments in include/linux/init.h:
"Pointers to __devexit functions must use __devexit_p(function_name), the
wrapper will insert either the function_name or NULL, depending on the config
options."
Fix this issue in codecs sn95031.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/sn95031.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c index 2a30eae1881c..f74d497ce9fc 100644 --- a/sound/soc/codecs/sn95031.c +++ b/sound/soc/codecs/sn95031.c | |||
@@ -925,7 +925,7 @@ static struct platform_driver sn95031_codec_driver = { | |||
925 | .owner = THIS_MODULE, | 925 | .owner = THIS_MODULE, |
926 | }, | 926 | }, |
927 | .probe = sn95031_device_probe, | 927 | .probe = sn95031_device_probe, |
928 | .remove = sn95031_device_remove, | 928 | .remove = __devexit_p(sn95031_device_remove), |
929 | }; | 929 | }; |
930 | 930 | ||
931 | static int __init sn95031_init(void) | 931 | static int __init sn95031_init(void) |