video: da8xx-fb: fix section mismatch warning
authoraxel lin <axel.lin@gmail.com>
Tue, 22 Feb 2011 01:52:42 +0000 (01:52 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 06:59:48 +0000 (15:59 +0900)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/da8xx-fb.c

index 8b7d47386f3983d883e04bb26be5837a23c65437..fcdac872522d66702e0035bfda682ae189547eec 100644 (file)
@@ -899,7 +899,7 @@ static struct fb_ops da8xx_fb_ops = {
        .fb_blank = cfb_blank,
 };
 
-static int __init fb_probe(struct platform_device *device)
+static int __devinit fb_probe(struct platform_device *device)
 {
        struct da8xx_lcdc_platform_data *fb_pdata =
                                                device->dev.platform_data;
@@ -1165,7 +1165,7 @@ static int fb_resume(struct platform_device *dev)
 
 static struct platform_driver da8xx_fb_driver = {
        .probe = fb_probe,
-       .remove = fb_remove,
+       .remove = __devexit_p(fb_remove),
        .suspend = fb_suspend,
        .resume = fb_resume,
        .driver = {