Skip to content

Commit

Permalink
cocbalt_lcdfb: correct sections
Browse files Browse the repository at this point in the history
Since the drivers probe call was changed from .init.text
to .devinit.text in commit c2e1303
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>
  • Loading branch information
Henrik Kretzschmar authored and Jiri Kosina committed May 3, 2010
1 parent 05be7a8 commit 7d7fb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/cobalt_lcdfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7d7fb0e

Please sign in to comment.