summaryrefslogtreecommitdiffstats
path: root/drivers/video/metronomefb.c
diff options
context:
space:
mode:
authoraxel lin <axel.lin@gmail.com>2011-02-13 04:02:10 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 16:34:33 +0900
commit1e93f390e56d82c4fcf684c86a45e1c593dc4b28 (patch)
treec3a2f359d8960f773d9e8dee8e437aa761efe7c1 /drivers/video/metronomefb.c
parent79ac33ec845c1872a23169644c5867528ff05590 (diff)
video: metronomefb: add __devexit_p around reference to metronomefb_remove
metronomefb_remove is marked __devexit, thus add __devexit_p around reference to metronomefb_remove. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/metronomefb.c')
-rw-r--r--drivers/video/metronomefb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/metronomefb.c b/drivers/video/metronomefb.c
index 63ed3b72b01..ed64edfd2c4 100644
--- a/drivers/video/metronomefb.c
+++ b/drivers/video/metronomefb.c
@@ -765,7 +765,7 @@ static int __devexit metronomefb_remove(struct platform_device *dev)
static struct platform_driver metronomefb_driver = {
.probe = metronomefb_probe,
- .remove = metronomefb_remove,
+ .remove = __devexit_p(metronomefb_remove),
.driver = {
.owner = THIS_MODULE,
.name = "metronomefb",