summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2010-04-28 14:25:02 +0400
committerJiri Kosina <jkosina@suse.cz>2010-05-03 17:42:58 +0400
commit7d7fb0e6eb78600e5d4fb0f28858e97d38ef6bbf (patch)
tree2b73a2b24a4a450bb99bf3aaaf5faf99d123eef1
parent05be7a868e229b26a5a7de217343f39b4dfed205 (diff)
downloadlinux-7d7fb0e6eb78600e5d4fb0f28858e97d38ef6bbf.tar.xz
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>
-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)
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,