提交 7d7fb0e6 编写于 作者: H Henrik Kretzschmar 提交者: Jiri Kosina

cocbalt_lcdfb: correct sections

Since the drivers probe call was changed from .init.text
to .devinit.text in commit c2e13037
the fb_fix_screeninfo structure must be
changed from .init.data to .devinit.data, too.
Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
Tested-by: NRalf Baechle <ralf@linux-mips.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 05be7a86
...@@ -123,7 +123,7 @@ static void lcd_clear(struct fb_info *info) ...@@ -123,7 +123,7 @@ static void lcd_clear(struct fb_info *info)
lcd_write_control(info, LCD_RESET); 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", .id = "cobalt-lcd",
.type = FB_TYPE_TEXT, .type = FB_TYPE_TEXT,
.type_aux = FB_AUX_TEXT_MDA, .type_aux = FB_AUX_TEXT_MDA,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册