]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARCH: OMAP: Section mismatch fix on board-3430sdp.c
authorFelipe Balbi <felipe.lima@indt.org.br>
Mon, 17 Dec 2007 21:52:44 +0000 (23:52 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Dec 2007 01:02:40 +0000 (17:02 -0800)
Can't call non-init data from init funtions. Change sdp3430_config
to __initdata.

Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-3430sdp.c

index 0c55858e57d37b6c8266d62647841ec7219fbdfc..fc5ca4e101d18778ffecb37363220e18ac79e7c1 100644 (file)
@@ -307,7 +307,7 @@ static struct omap_lcd_config sdp3430_lcd_config __initdata = {
        .ctrl_name      = "internal",
 };
 
-static struct omap_board_config_kernel sdp3430_config[] = {
+static struct omap_board_config_kernel sdp3430_config[] __initdata = {
        { OMAP_TAG_UART,        &sdp3430_uart_config },
        {OMAP_TAG_LCD,          &sdp3430_lcd_config},
 };