From: Felipe Balbi Date: Mon, 17 Dec 2007 21:52:44 +0000 (+0200) Subject: ARCH: OMAP: Section mismatch fix on board-3430sdp.c X-Git-Tag: v2.6.24-omap1~81 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=587251e95392cb936dae9744bddb80382ef2cf3c;p=linux-2.6-omap-h63xx.git ARCH: OMAP: Section mismatch fix on board-3430sdp.c Can't call non-init data from init funtions. Change sdp3430_config to __initdata. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 0c55858e57d..fc5ca4e101d 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c @@ -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}, };