Commit 1db41e03 authored by axel lin's avatar axel lin Committed by Paul Mundt

video: da8xx-fb: fix section mismatch warning

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent d15660a1
...@@ -899,7 +899,7 @@ static struct fb_ops da8xx_fb_ops = { ...@@ -899,7 +899,7 @@ static struct fb_ops da8xx_fb_ops = {
.fb_blank = cfb_blank, .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 = struct da8xx_lcdc_platform_data *fb_pdata =
device->dev.platform_data; device->dev.platform_data;
...@@ -1165,7 +1165,7 @@ static int fb_resume(struct platform_device *dev) ...@@ -1165,7 +1165,7 @@ static int fb_resume(struct platform_device *dev)
static struct platform_driver da8xx_fb_driver = { static struct platform_driver da8xx_fb_driver = {
.probe = fb_probe, .probe = fb_probe,
.remove = fb_remove, .remove = __devexit_p(fb_remove),
.suspend = fb_suspend, .suspend = fb_suspend,
.resume = fb_resume, .resume = fb_resume,
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment