From patchwork Tue Jul 12 16:32:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhrajyoti Datta X-Patchwork-Id: 968762 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6CGWgej009884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 12 Jul 2011 16:33:03 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qgfsv-0002Ou-Lv; Tue, 12 Jul 2011 16:32:33 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qgfsv-0001wm-AH; Tue, 12 Jul 2011 16:32:33 +0000 Received: from comal.ext.ti.com ([198.47.26.152]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qgfsp-0001wT-54 for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2011 16:32:31 +0000 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id p6CGWLFZ005493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jul 2011 11:32:23 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id p6CGWKb5001844; Tue, 12 Jul 2011 22:02:20 +0530 (IST) Received: from dbdp31.itg.ti.com (172.24.170.98) by DBDE70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 8.3.106.1; Tue, 12 Jul 2011 22:02:20 +0530 Received: from a0393217ubnlt.itg.ti.com (h83-3.vpn.ti.com [172.24.83.3]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p6CGWDfY023093; Tue, 12 Jul 2011 22:02:17 +0530 (IST) From: Shubhrajyoti D To: Subject: [PATCH] OMAP4: 4430SDP: Keypad: Make keypad_data initdata Date: Tue, 12 Jul 2011 22:02:09 +0530 Message-ID: <1310488329-16139-1-git-send-email-shubhrajyoti@ti.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110712_123227_354472_631C9010 X-CRM114-Status: GOOD ( 12.86 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [198.47.26.152 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: Shubhrajyoti D , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 12 Jul 2011 16:33:03 +0000 (UTC) The keypad data is accessed only at init so making it initdata. This removes the section mismatch warning. Reported-by: Kevin Hilman Signed-off-by: Shubhrajyoti D Acked-by: Kevin Hilman --- arch/arm/mach-omap2/board-4430sdp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 47e6ab9..2b28c7e 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -195,7 +195,7 @@ static struct omap4_keypad_platform_data sdp4430_keypad_data = { .cols = 8, }; -static struct omap_board_data keypad_data = { +static struct omap_board_data keypad_data __initdata = { .id = 1, .pads = keypad_pads, .pads_cnt = ARRAY_SIZE(keypad_pads),