OSDN Git Service

cocbalt_lcdfb: correct sections
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Wed, 28 Apr 2010 10:25:02 +0000 (12:25 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 3 May 2010 13:42:58 +0000 (15:42 +0200)
Since the drivers probe call was changed from .init.text
to .devinit.text in commit c2e13037e6794bd0d9de3f9ecabf5615f15c160b
the fb_fix_screeninfo structure must be
changed from .init.data to .devinit.data, too.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Tested-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/video/cobalt_lcdfb.c

index 5eb61b5..42fe155 100644 (file)
@@ -123,7 +123,7 @@ static void lcd_clear(struct fb_info *info)
        lcd_write_control(info, LCD_RESET);
 }
 
-static struct fb_fix_screeninfo cobalt_lcdfb_fix __initdata = {
+static struct fb_fix_screeninfo cobalt_lcdfb_fix __devinitdata = {
        .id             = "cobalt-lcd",
        .type           = FB_TYPE_TEXT,
        .type_aux       = FB_AUX_TEXT_MDA,