Commit ffb287c9 authored by Marek Vasut's avatar Marek Vasut Committed by Eric Miao

ARM: pxa168fb: fix section mismatch

Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent b3282ab1
...@@ -559,7 +559,7 @@ static struct fb_ops pxa168fb_ops = { ...@@ -559,7 +559,7 @@ static struct fb_ops pxa168fb_ops = {
.fb_imageblit = cfb_imageblit, .fb_imageblit = cfb_imageblit,
}; };
static int __init pxa168fb_init_mode(struct fb_info *info, static int __devinit pxa168fb_init_mode(struct fb_info *info,
struct pxa168fb_mach_info *mi) struct pxa168fb_mach_info *mi)
{ {
struct pxa168fb_info *fbi = info->par; struct pxa168fb_info *fbi = info->par;
...@@ -599,7 +599,7 @@ static int __init pxa168fb_init_mode(struct fb_info *info, ...@@ -599,7 +599,7 @@ static int __init pxa168fb_init_mode(struct fb_info *info,
return ret; return ret;
} }
static int __init pxa168fb_probe(struct platform_device *pdev) static int __devinit pxa168fb_probe(struct platform_device *pdev)
{ {
struct pxa168fb_mach_info *mi; struct pxa168fb_mach_info *mi;
struct fb_info *info = 0; struct fb_info *info = 0;
...@@ -792,7 +792,7 @@ static struct platform_driver pxa168fb_driver = { ...@@ -792,7 +792,7 @@ static struct platform_driver pxa168fb_driver = {
.probe = pxa168fb_probe, .probe = pxa168fb_probe,
}; };
static int __devinit pxa168fb_init(void) static int __init pxa168fb_init(void)
{ {
return platform_driver_register(&pxa168fb_driver); return platform_driver_register(&pxa168fb_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