From patchwork Mon Sep 30 15:34:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 2966421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CCCB5BFF0B for ; Mon, 30 Sep 2013 15:35:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4AF45201B7 for ; Mon, 30 Sep 2013 15:35:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1BB2020190 for ; Mon, 30 Sep 2013 15:35:19 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQfVE-0007RR-0M; Mon, 30 Sep 2013 15:35:16 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQfVB-0007Wk-MU; Mon, 30 Sep 2013 15:35:13 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQfV7-0007Vb-Ub for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 15:35:11 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MTY0023V39ZMOX0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2013 00:34:47 +0900 (KST) X-AuditID: cbfee61a-b7f7a6d00000235f-42-52499a160f50 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id DE.7F.09055.61A99425; Tue, 01 Oct 2013 00:34:47 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MTY0053I39X6300@mmp2.samsung.com>; Tue, 01 Oct 2013 00:34:46 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Simon Horman Subject: [PATCH v2] ARM: shmobile: ape6evm: fix incorrect placement of __initdata tag Date: Mon, 30 Sep 2013 17:34:36 +0200 Message-id: <1959578.PFsrHiTtYY@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-52-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGLMWRmVeSWpSXmKPExsVy+t9jQV3xWZ5BBlt2s1k0b/3KaHG26Q27 RefEJewWmx5fY7W4vGsOm8WcP1OYLR6sfsvmwO6xc9Zddo/ZHTNZPTYvqffo27KK0WPOz28s Hp83yQWwRXHZpKTmZJalFunbJXBl7G/MLHjEXrH12S/GBsazbF2MnBwSAiYSdy9vZoSwxSQu 3FsPFOfiEBKYzigx/epyFpCEkEALk0Tvq2oQm03ASmJi+yqwBhEBVYnfR76B1TALvGGUmPTA DcQWFgiXOHTrPDOIzQJUc3zBZ7BlvAKaEvsnLQezRQU8JT5NWsoMEReU+DH5HtQceYl9+6ey QthaEut3HmeawMg3C0nZLCRls5CULWBkXsUomlqQXFCclJ5rqFecmFtcmpeul5yfu4kRHLrP pHYwrmywOMQowMGoxMNrUO8ZJMSaWFZcmXuIUYKDWUmE9/UEoBBvSmJlVWpRfnxRaU5q8SFG aQ4WJXHeA63WgUIC6YklqdmpqQWpRTBZJg5OqQbGtdZT+g/xGWdPlLtXsfyoxT2Wu1smzKpN 1dlzeNL1eR9qN7AdULi/877go6k/F647k6r963HEFeX9iY553MGvbV5M+GT6bf5O3kWWLywS GCs+Lltns/rKrv8ruBOvREXfTVXary1QuN058qFH+r+t09cdfmH28P4a6c+Zlinzf1V76N5/ az+BU0GJpTgj0VCLuag4EQAW1KRyWQIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130930_113510_273685_B9BB30B1 X-CRM114-Status: GOOD ( 11.11 ) X-Spam-Score: -7.5 (-------) Cc: linux-sh@vger.kernel.org, Magnus Damm , linux-kernel@vger.kernel.org, Kyungmin Park , Laurent Pinchart , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP __initdata tag should be placed between the variable name and equal sign for the variable to be placed in the intended .init.data section. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Acked-by: Laurent Pinchart --- v2: - use __initdata as it is OK to do it arch/arm/mach-shmobile/board-ape6evm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/board-ape6evm.c b/arch/arm/mach-shmobile/board-ape6evm.c index 7627385..8954f55 100644 --- a/arch/arm/mach-shmobile/board-ape6evm.c +++ b/arch/arm/mach-shmobile/board-ape6evm.c @@ -86,7 +86,7 @@ static struct gpio_keys_button gpio_buttons[] = { GPIO_KEY(KEY_VOLUMEDOWN, 329, "S21"), }; -static struct __initdata gpio_keys_platform_data ape6evm_keys_pdata = { +static struct gpio_keys_platform_data ape6evm_keys_pdata __initdata = { .buttons = gpio_buttons, .nbuttons = ARRAY_SIZE(gpio_buttons), };