summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxel lin <axel.lin@gmail.com>2011-02-13 13:06:23 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 16:34:28 +0900
commit79ac33ec845c1872a23169644c5867528ff05590 (patch)
tree029c6a89fac10bf17a80b0d90002cf42ba408a5d
parent83e61f71d72da7240378fe7ecba5e936a0f159db (diff)
downloadlinux-79ac33ec845c1872a23169644c5867528ff05590.tar.bz2
video: hecubafb: add __devexit_p around reference to hecubafb_remove
hecubafb_remove is marked __devexit, thus add __devexit_p around reference to hecubafb_remove. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--drivers/video/hecubafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index c77bcc6ab463..1b94643ecbcf 100644
--- a/drivers/video/hecubafb.c
+++ b/drivers/video/hecubafb.c
@@ -299,7 +299,7 @@ static int __devexit hecubafb_remove(struct platform_device *dev)
static struct platform_driver hecubafb_driver = {
.probe = hecubafb_probe,
- .remove = hecubafb_remove,
+ .remove = __devexit_p(hecubafb_remove),
.driver = {
.owner = THIS_MODULE,
.name = "hecubafb",