]> Git Repo - linux.git/commitdiff
framebuffer: fix carminefb section mismatch
authorRandy Dunlap <[email protected]>
Thu, 16 Oct 2008 05:03:53 +0000 (22:03 -0700)
committerLinus Torvalds <[email protected]>
Thu, 16 Oct 2008 18:21:45 +0000 (11:21 -0700)
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 <[email protected]>
Cc: Sebastian Siewior <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/carminefb.c

index e15bb447440a54c21d3b772e4deb51012cd27dbb..c9b191319a9a6ca7cdd047d52fd5e38918db6176 100644 (file)
@@ -535,7 +535,7 @@ static struct fb_ops carminefb_ops = {
        .fb_setcolreg   = carmine_setcolreg,
 };
 
-static int alloc_carmine_fb(void __iomem *regs, void __iomem *smem_base,
+static int __devinit alloc_carmine_fb(void __iomem *regs, void __iomem *smem_base,
                int smem_offset, struct device *device, struct fb_info **rinfo)
 {
        int ret;
This page took 0.051565 seconds and 4 git commands to generate.