aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/cobalt_lcdfb.c
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2010-04-28 06:25:02 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-03 09:42:58 -0400
commit7d7fb0e6eb78600e5d4fb0f28858e97d38ef6bbf (patch)
tree2b73a2b24a4a450bb99bf3aaaf5faf99d123eef1 /drivers/video/cobalt_lcdfb.c
parent05be7a868e229b26a5a7de217343f39b4dfed205 (diff)
cocbalt_lcdfb: correct sections
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>
Diffstat (limited to 'drivers/video/cobalt_lcdfb.c')
-rw-r--r--drivers/video/cobalt_lcdfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/cobalt_lcdfb.c b/drivers/video/cobalt_lcdfb.c
index 5eb61b5adfe8..42fe155aba0e 100644
--- a/drivers/video/cobalt_lcdfb.c
+++ b/drivers/video/cobalt_lcdfb.c
@@ -123,7 +123,7 @@ static void lcd_clear(struct fb_info *info)
123 lcd_write_control(info, LCD_RESET); 123 lcd_write_control(info, LCD_RESET);
124} 124}
125 125
126static struct fb_fix_screeninfo cobalt_lcdfb_fix __initdata = { 126static struct fb_fix_screeninfo cobalt_lcdfb_fix __devinitdata = {
127 .id = "cobalt-lcd", 127 .id = "cobalt-lcd",
128 .type = FB_TYPE_TEXT, 128 .type = FB_TYPE_TEXT,
129 .type_aux = FB_AUX_TEXT_MDA, 129 .type_aux = FB_AUX_TEXT_MDA,