diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-10-16 01:03:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:45 -0400 |
commit | 313cc59eacc26cc7e8638660ec5a0ffb5e319045 (patch) | |
tree | ad66ec514bda4a802e284123c0c433ccbc6bf1d9 /drivers/video | |
parent | e3a1938805d2e81b27d3d348788644f3bad004f2 (diff) |
framebuffer: fix carminefb section mismatch
Make alloc_carmine_fb() __devinit.
WARNING: drivers/video/carminefb.o(.text+0x81b): Section mismatch in reference from the function alloc_carmine_fb() to the variable .devinit.data:carminefb_fix
The function alloc_carmine_fb() references the variable __devinitdata
carminefb_fix. This is often because alloc_carmine_fb lacks a
__devinitdata annotation or the annotation of carminefb_fix is wrong.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/carminefb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/carminefb.c b/drivers/video/carminefb.c index e15bb447440a..c9b191319a9a 100644 --- a/drivers/video/carminefb.c +++ b/drivers/video/carminefb.c | |||
@@ -535,7 +535,7 @@ static struct fb_ops carminefb_ops = { | |||
535 | .fb_setcolreg = carmine_setcolreg, | 535 | .fb_setcolreg = carmine_setcolreg, |
536 | }; | 536 | }; |
537 | 537 | ||
538 | static int alloc_carmine_fb(void __iomem *regs, void __iomem *smem_base, | 538 | static int __devinit alloc_carmine_fb(void __iomem *regs, void __iomem *smem_base, |
539 | int smem_offset, struct device *device, struct fb_info **rinfo) | 539 | int smem_offset, struct device *device, struct fb_info **rinfo) |
540 | { | 540 | { |
541 | int ret; | 541 | int ret; |