From patchwork Mon Sep 30 15:38:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 2966441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 861FD9F289 for ; Mon, 30 Sep 2013 15:38:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBACB20268 for ; Mon, 30 Sep 2013 15:38:54 +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 27D3D201F2 for ; Mon, 30 Sep 2013 15:38:50 +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 1VQfYd-0000hW-O7; Mon, 30 Sep 2013 15:38:47 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQfYa-0007gp-Oy; Mon, 30 Sep 2013 15:38:44 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQfYW-0007fX-UY for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 15:38:42 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MTY000C03FTTJW0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2013 00:38:17 +0900 (KST) X-AuditID: cbfee61b-b7f776d0000016c8-d4-52499ae98272 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id BF.6E.05832.9EA99425; Tue, 01 Oct 2013 00:38:17 +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 <0MTY001O93FROQ40@mmp2.samsung.com>; Tue, 01 Oct 2013 00:38:17 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Andrew Victor Subject: [PATCH v2] ARM: at91: cam60: fix incorrect placement of __initdata tag Date: Mon, 30 Sep 2013 17:38:06 +0200 Message-id: <4748525.slmbI8ubRr@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+NgFjrILMWRmVeSWpSXmKPExsVy+t9jQd2XszyDDObN5bA42/SG3WLT42us Fpd3zWGzWL7iKbPFt8vN7BbrHr5gcmDzWPBrK4vHqwt3WDw2L6n3mHh7GotH35ZVjB6fN8kF sEVx2aSk5mSWpRbp2yVwZdy8tpy94B57xf7uN8wNjCvZuhg5OSQETCSWLtzGCGGLSVy4tx4o zsUhJDCdUeLlu0XsEE4Lk8TkF8eZQarYBKwkJravAurg4BARUJM43lEJEmYWuMUoMe+LNYgt LOAv0Xb5KAtICYuAqsTmXl+QMK+ApsSCyz/B9ooKeEp8mrSUGSIuKPFj8j0WiDHyEvv2T2WF sLUk1u88zjSBkW8WkrJZSMpmISlbwMi8ilE0tSC5oDgpPddIrzgxt7g0L10vOT93EyM4YJ9J 72Bc1WBxiFGAg1GJh9eg3jNIiDWxrLgy9xCjBAezkgjv6wlAId6UxMqq1KL8+KLSnNTiQ4zS HCxK4rwHW60DhQTSE0tSs1NTC1KLYLJMHJxSDYxijgdOGbtkZytWP3m2x8Z0/oYI/6tXLXPE LwZVrhH9defJS5MjZtsTxUuNF14JuLtoztaj/XVtz754FqcZl6UHz9V/aa71h+v8Pc9Xx6Zp zVs/7fVqf7dnHCsXXeqsY7F6c5274HJs2x6t2vAlDr1uwUfeswZd4l1xrENl56l52Xkbg0Qv vctTYinOSDTUYi4qTgQA9fut9FQCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130930_113841_208341_99499C33 X-CRM114-Status: GOOD ( 10.58 ) X-Spam-Score: -7.5 (-------) Cc: Jean-Christophe Plagniol-Villard , Kyungmin Park , Nicolas Ferre , linux-kernel@vger.kernel.org, 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: Nicolas Ferre --- v2: - use __initdata as it is OK to do it arch/arm/mach-at91/board-cam60.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-at91/board-cam60.c b/arch/arm/mach-at91/board-cam60.c index ade948b..ecabbed 100644 --- a/arch/arm/mach-at91/board-cam60.c +++ b/arch/arm/mach-at91/board-cam60.c @@ -108,16 +108,14 @@ static struct spi_board_info cam60_spi_devices[] __initdata = { #endif }; - /* * MACB Ethernet device */ -static struct __initdata macb_platform_data cam60_macb_data = { +static struct macb_platform_data cam60_macb_data __initdata = { .phy_irq_pin = AT91_PIN_PB5, .is_rmii = 0, }; - /* * NAND Flash */