From 587251e95392cb936dae9744bddb80382ef2cf3c Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 17 Dec 2007 23:52:44 +0200 Subject: [PATCH] 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 --- arch/arm/mach-omap2/board-3430sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, }; -- 2.41.1