From patchwork Mon Jan 17 04:31:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 482971 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0H4VpAc014767 for ; Mon, 17 Jan 2011 04:31:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752570Ab1AQEb5 (ORCPT ); Sun, 16 Jan 2011 23:31:57 -0500 Received: from na3sys009aog101.obsmtp.com ([74.125.149.67]:53180 "EHLO na3sys009aog101.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338Ab1AQEb5 (ORCPT ); Sun, 16 Jan 2011 23:31:57 -0500 Received: from source ([74.125.83.42]) by na3sys009aob101.postini.com ([74.125.148.12]) with SMTP ID DSNKTTPGPCSm9BUClhBqru270ekEWzhsci6P@postini.com; Sun, 16 Jan 2011 20:31:56 PST Received: by gwb20 with SMTP id 20so1646006gwb.1 for ; Sun, 16 Jan 2011 20:31:56 -0800 (PST) Received: by 10.150.204.5 with SMTP id b5mr3681776ybg.214.1295238716246; Sun, 16 Jan 2011 20:31:56 -0800 (PST) Received: from localhost (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id q33sm2400007yba.19.2011.01.16.20.31.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Jan 2011 20:31:55 -0800 (PST) From: Felipe Balbi To: Tony Lindgren Cc: Linux ARM Kernel Mailing List , Linux OMAP Mailing List , Felipe Balbi Subject: [PATCH 4/7] arm: omap1: fix a bunch of section mismatches Date: Mon, 17 Jan 2011 06:31:17 +0200 Message-Id: <1295238680-26738-5-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.3.4.598.g85356 In-Reply-To: <1295238680-26738-1-git-send-email-balbi@ti.com> References: <1295238680-26738-1-git-send-email-balbi@ti.com> Organization: Texas Instruments\n Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 17 Jan 2011 04:31:58 +0000 (UTC) diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index bd0495a..be2feca 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -165,7 +165,7 @@ static struct map_desc ams_delta_io_desc[] __initdata = { } }; -static struct omap_lcd_config ams_delta_lcd_config __initdata = { +static struct omap_lcd_config ams_delta_lcd_config = { .ctrl_name = "internal", }; @@ -192,14 +192,14 @@ static const struct matrix_keymap_data ams_delta_keymap_data = { .keymap_size = ARRAY_SIZE(ams_delta_keymap), }; -static struct omap_kp_platform_data ams_delta_kp_data = { +static struct omap_kp_platform_data ams_delta_kp_data __initdata = { .rows = 8, .cols = 8, .keymap_data = &ams_delta_keymap_data, .delay = 9, }; -static struct platform_device ams_delta_kp_device = { +static struct platform_device ams_delta_kp_device __initdata = { .name = "omap-keypad", .id = -1, .dev = { @@ -209,12 +209,12 @@ static struct platform_device ams_delta_kp_device = { .resource = ams_delta_kp_resources, }; -static struct platform_device ams_delta_lcd_device = { +static struct platform_device ams_delta_lcd_device __initdata = { .name = "lcd_ams_delta", .id = -1, }; -static struct platform_device ams_delta_led_device = { +static struct platform_device ams_delta_led_device __initdata = { .name = "ams-delta-led", .id = -1 }; @@ -243,7 +243,7 @@ static int ams_delta_camera_power(struct device *dev, int power) #define ams_delta_camera_power NULL #endif -static struct soc_camera_link __initdata ams_delta_iclink = { +static struct soc_camera_link ams_delta_iclink __initdata = { .bus_id = 0, /* OMAP1 SoC camera bus */ .i2c_adapter_id = 1, .board_info = &ams_delta_camera_board_info[0], @@ -251,7 +251,7 @@ static struct soc_camera_link __initdata ams_delta_iclink = { .power = ams_delta_camera_power, }; -static struct platform_device ams_delta_camera_device = { +static struct platform_device ams_delta_camera_device __initdata = { .name = "soc-camera-pdrv", .id = 0, .dev = { diff --git a/arch/arm/mach-omap1/board-fsample.c b/arch/arm/mach-omap1/board-fsample.c index 0efb9db..27fb1be 100644 --- a/arch/arm/mach-omap1/board-fsample.c +++ b/arch/arm/mach-omap1/board-fsample.c @@ -287,7 +287,7 @@ static struct platform_device *devices[] __initdata = { &lcd_device, }; -static struct omap_lcd_config fsample_lcd_config __initdata = { +static struct omap_lcd_config fsample_lcd_config = { .ctrl_name = "internal", };