video: metronomefb: add __devexit_p around reference to metronomefb_remove
authoraxel lin <axel.lin@gmail.com>
Sun, 13 Feb 2011 04:02:10 +0000 (04:02 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:34:33 +0000 (16:34 +0900)
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>
drivers/video/metronomefb.c

index 63ed3b7..ed64edf 100644 (file)
@@ -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",