From patchwork Mon Sep 30 13:00: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: 2964531 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 833219F288 for ; Mon, 30 Sep 2013 13:01:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D425D20365 for ; Mon, 30 Sep 2013 13:01:30 +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 19529200E0 for ; Mon, 30 Sep 2013 13:01:26 +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 1VQd6E-00029C-Kz; Mon, 30 Sep 2013 13:01:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQd6C-0002RR-1E; Mon, 30 Sep 2013 13:01:16 +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 1VQd68-0002Qb-55 for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 13:01:13 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MTX009N7W57W231@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 22:00:47 +0900 (KST) X-AuditID: cbfee61a-b7f7a6d00000235f-32-524975ffd452 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FA.AD.09055.FF579425; Mon, 30 Sep 2013 22:00:47 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MTX00LKAW59PQ70@mmp1.samsung.com>; Mon, 30 Sep 2013 22:00:47 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Andrew Victor Subject: [PATCH] ARM: at91: cam60: fix incorrect placement of __initdata tag Date: Mon, 30 Sep 2013 15:00:36 +0200 Message-id: <1547748.5rp6t7JgE3@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+t9jAd3/pZ5BBtu+6FucbXrDbrHp8TVW i8u75rBZLF/xlNni2+Vmdot1D18wObB5LPi1lcXj1YU7LB6bl9R7TLw9jcWjb8sqRo/Pm+QC 2KK4bFJSczLLUov07RK4Mi78vchYcJCj4vuhW6wNjP/Yuhg5OSQETCTW/DkPZYtJXLi3Hsjm 4hASWMQo8fDjUWaQhJBAC5PEzellIDabgJXExPZVjF2MHBwiAmoSxzsqQcLMArcYJeZ9sQax hQV8JFYeecQEYrMIqEq0LTkCNp9XQFNiw+2ZYLaogKfEp0lLmSHighI/Jt9jgZgjL7Fv/1RW CFtLYv3O40wTGPlmISmbhaRsFpKyBYzMqxhFUwuSC4qT0nMN9YoTc4tL89L1kvNzNzGCA/aZ 1A7GlQ0WhxgFOBiVeHgnLPcIEmJNLCuuzD3EKMHBrCTCOyHLM0iINyWxsiq1KD++qDQntfgQ ozQHi5I474FW60AhgfTEktTs1NSC1CKYLBMHp1QDo0KPlYl7jZ9+aqOydu9UXcPNm2duaMqd +Hfj8taCbY6lnPYnw+2+fioq93z7ULy8Z61D5Bd2vZ0d379e4Js44SpDpL6p6z0T8zmh5xY9 d9k64XCH9CehyZu6JoRLPNsYlft9ufWRli+OO+Zqv72zyenCO0/nBe/6pzrPuxp6ZnLIhKkM V682ZCqxFGckGmoxFxUnAgC67Z8TVAIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130930_090112_442483_DDE7E513 X-CRM114-Status: GOOD ( 10.49 ) 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. In this particular case __initdata is incorrect as cam60_macb_data can be used as a platform data for at91_eth driver which can be compiled as module. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park --- 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 = { .phy_irq_pin = AT91_PIN_PB5, .is_rmii = 0, }; - /* * NAND Flash */