From patchwork Mon Sep 30 13:02:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 2964551 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 CF4F99F288 for ; Mon, 30 Sep 2013 13:03:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3FDC0201FA for ; Mon, 30 Sep 2013 13:03:42 +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 854E1200E0 for ; Mon, 30 Sep 2013 13:03:37 +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 1VQd8Q-00032t-HF; Mon, 30 Sep 2013 13:03:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQd8N-0002To-Fg; Mon, 30 Sep 2013 13:03:31 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQd8K-0002Se-Ka for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 13:03:29 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MTX00M47W94SCG0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 22:03:04 +0900 (KST) X-AuditID: cbfee61b-b7f776d0000016c8-9e-52497688a12b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 82.3C.05832.88679425; Mon, 30 Sep 2013 22:03:04 +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 <0MTX00L2PW8Y7580@mmp1.samsung.com>; Mon, 30 Sep 2013 22:03:04 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Greg Ungerer Subject: [PATCH] ARM: ks8695: fix incorrect placement of __initdata tag Date: Mon, 30 Sep 2013 15:02:48 +0200 Message-id: <1551134.v305P4LSfh@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+NgFlrDLMWRmVeSWpSXmKPExsVy+t9jAd2OMs8gg96D/BaHLs9msjjb9Ibd YtPja6wWl3fNYXNg8di8pN6jb8sqRo9thzg9Pm+SC2CJ4rJJSc3JLEst0rdL4MqY0XqRreAJ V8Wba8tZGxi7ObsYOTgkBEwkZjw07WLkBDLFJC7cW8/WxcjFISSwiFFi94JZ7BBOC5PEhe8z WUGq2ASsJCa2r2IEaRYRUJaYsrYOJMwsUCzRM/cKO4gtLOAuce7qJLByFgFViZZnLSwgNq+A psSHpW1gcVEBT4lPk5YyQ8QFJX5MvscCMUdeYt/+qawQtpbE+p3HmSYw8s1CUjYLSdksJGUL GJlXMYqmFiQXFCel5xrpFSfmFpfmpesl5+duYgSH4TPpHYyrGiwOMQpwMCrx8Fos9QgSYk0s K67MPcQowcGsJMI7IcszSIg3JbGyKrUoP76oNCe1+BCjNAeLkjjvwVbrQCGB9MSS1OzU1ILU IpgsEwenVAMjH5PfYrOnNw2yu4Wj3r8T01dd2z9bQvu8Am/ejVPNCmte8PS+mqb/6+2cWpYT Lit/y7577RLB8L5exsXrRWCXdFWGfsTCErFQ1ZZkLu+c6S4s86fvTd/SYMH2NfGqTolhgYki xxSWE0d6eLSis5gueTOcO2vc9ErI0PK66B9HVo7r12rLTZRYijMSDbWYi4oTAdmthj8/AgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130930_090328_906164_3F580C4B X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -7.5 (-------) Cc: Kyungmin Park , 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: Greg Ungerer --- arch/arm/mach-ks8695/board-og.c | 2 +- arch/arm/mach-ks8695/cpu.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-ks8695/board-og.c b/arch/arm/mach-ks8695/board-og.c index 002bc61..9204f5a 100644 --- a/arch/arm/mach-ks8695/board-og.c +++ b/arch/arm/mach-ks8695/board-og.c @@ -79,7 +79,7 @@ static void __init og_pci_bus_reset(void) #define S8250_VIRT 0xf4000000 #define S8250_SIZE 0x00100000 -static struct __initdata map_desc og_io_desc[] = { +static struct map_desc og_io_desc[] __initdata = { { .virtual = S8250_VIRT, .pfn = __phys_to_pfn(S8250_PHYS), diff --git a/arch/arm/mach-ks8695/cpu.c b/arch/arm/mach-ks8695/cpu.c index ddb2422..9618654 100644 --- a/arch/arm/mach-ks8695/cpu.c +++ b/arch/arm/mach-ks8695/cpu.c @@ -33,8 +33,7 @@ #include #include - -static struct __initdata map_desc ks8695_io_desc[] = { +static struct map_desc ks8695_io_desc[] __initdata = { { .virtual = (unsigned long)KS8695_IO_VA, .pfn = __phys_to_pfn(KS8695_IO_PA),