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: 968752 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6CGWXgi009873 for ; Tue, 12 Jul 2011 16:32:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753810Ab1GLQcb (ORCPT ); Tue, 12 Jul 2011 12:32:31 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:54160 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753723Ab1GLQcb (ORCPT ); Tue, 12 Jul 2011 12:32:31 -0400 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: CC: linux-arm-kernel@lists.infradead.org, Shubhrajyoti D 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 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]); Tue, 12 Jul 2011 16:32:33 +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),