summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/spdif.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-02 05:20:13 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-02 20:58:44 +0200
commitc4c5839f9828de60682802367013c1dd375c46cf (patch)
tree416a5c0fd65dd963306b1ac97d4d62876bab2ece /sound/soc/samsung/spdif.c
parentASoC: kirkwood-i2s: Add __devexit_p at necessary place (diff)
downloadlinux-c4c5839f9828de60682802367013c1dd375c46cf.tar.xz
linux-c4c5839f9828de60682802367013c1dd375c46cf.zip
ASoC: samsung: Add __devexit_p at necessary places
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 confi options." Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Jaswinder Singh <jassi.brar@samsung.com> Cc: Ben Dooks <ben@simtec.co.uk> Cc: Seungwhan Youn <sw.youn@samsung.com> Cc: Jassi Brar <jassisinghbrar@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/spdif.c')
-rw-r--r--sound/soc/samsung/spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c
index 28c491dacf7a..c82b47152b75 100644
--- a/sound/soc/samsung/spdif.c
+++ b/sound/soc/samsung/spdif.c
@@ -475,7 +475,7 @@ static __devexit int spdif_remove(struct platform_device *pdev)
static struct platform_driver samsung_spdif_driver = {
.probe = spdif_probe,
- .remove = spdif_remove,
+ .remove = __devexit_p(spdif_remove),
.driver = {
.name = "samsung-spdif",
.owner = THIS_MODULE,