提交 90db8ece 编写于 作者: L Lu Guanqun 提交者: Mark Brown

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: NLu Guanqun <guanqun.lu@intel.com>
Acked-by: NLiam Girdwood <lrg@ti.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 68e0c669
...@@ -925,7 +925,7 @@ static struct platform_driver sn95031_codec_driver = { ...@@ -925,7 +925,7 @@ static struct platform_driver sn95031_codec_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = sn95031_device_probe, .probe = sn95031_device_probe,
.remove = sn95031_device_remove, .remove = __devexit_p(sn95031_device_remove),
}; };
static int __init sn95031_init(void) static int __init sn95031_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册