linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] cocbalt_lcdfb: correct sections
@ 2010-04-28 10:25 Henrik Kretzschmar
  2010-04-28 10:25 ` [PATCH 2/4] hitfb: " Henrik Kretzschmar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Henrik Kretzschmar @ 2010-04-28 10:25 UTC (permalink / raw)
  To: linux-fbdev
  Cc: ralf, arnaud.patard, jayakumar.lkml, gregkh, yuasa, lethal, akpm,
	adobriyan, support, ben, linux, jkosina, pjones, linux-kernel,
	Henrik Kretzschmar

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>
---
It would be nice if someone with a MIPS gcc could test this patch and
give me some feedback if it works the way it should, since atm I'm lacking
a crosscompiler setup.
---
 drivers/video/cobalt_lcdfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/cobalt_lcdfb.c b/drivers/video/cobalt_lcdfb.c
index 5eb61b5..42fe155 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,
-- 
1.7.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-28 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 10:25 [PATCH 1/4] cocbalt_lcdfb: correct sections Henrik Kretzschmar
2010-04-28 10:25 ` [PATCH 2/4] hitfb: " Henrik Kretzschmar
2010-04-28 10:25 ` [PATCH 3/4] s3c2410fb: " Henrik Kretzschmar
2010-04-28 21:16   ` Arnaud Patard
2010-04-28 10:25 ` [PATCH 4/4] sgivwfb: " Henrik Kretzschmar
2010-04-28 14:32 ` [PATCH 1/4] cocbalt_lcdfb: " Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).