From patchwork Mon Aug 12 09:14:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2842906 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 74517BF546 for ; Mon, 12 Aug 2013 09:32:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E09020211 for ; Mon, 12 Aug 2013 09:32:07 +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 8ECB12020F for ; Mon, 12 Aug 2013 09:32:02 +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 1V8oTZ-00048o-Ji; Mon, 12 Aug 2013 09:31:45 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8oTT-0003Rt-Sq; Mon, 12 Aug 2013 09:31:39 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8oTK-0003Q8-Lc for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2013 09:31:31 +0000 Received: by mail-pa0-f47.google.com with SMTP id kl13so7270232pab.6 for ; Mon, 12 Aug 2013 02:31:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3fE9FQCreU+I8llfqwI68T+LHIX0PmsKMrzGi5d6LTQ=; b=LtA/8o81jEhTLJynaJ9qUCVNwPhFmXBFASLnyMHJFR6Qwm6AChZCcft2Drp1/25qEa 1gI9xt5yZAdFdJ1uQ+La0JqEq1gbCOn02DbnlNH/C/LBrC42qLxxPxDGTRCc/X7mORYo Q8Zpnfte1SnHpnJn03IbvtxbT27Xg5CMu/S6NU4f3yi0b+UrTC8jlNlzzuhM82xewBNF 05C4HExb6SG7hD+a+8oPPWevM5IhPjHPSGqk9q2Nf9AmPyfU7DOAmrDaxdbMLM7He75N 4H9tqZ6uZHVKDIc3taX4SHLML3PEVqRLpZN+1P7baeFsQuZvsyPgTFftfkjpNAaciUgi /VYw== X-Gm-Message-State: ALoCoQln2AM+/R8RBAQCtHM+xxq24MXq7eM1pFz4ZRUyLfvuPt0ZfS1svLdt/sfCcypOKVvzx8wK X-Received: by 10.66.231.42 with SMTP id td10mr22895126pac.144.1376299869191; Mon, 12 Aug 2013 02:31:09 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ll5sm38777586pab.19.2013.08.12.02.31.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 02:31:08 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/9] clk: nomadik: Fix incorrect placement of __initconst Date: Mon, 12 Aug 2013 14:44:00 +0530 Message-Id: <1376298847-21828-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376298847-21828-1-git-send-email-sachin.kamat@linaro.org> References: <1376298847-21828-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130812_053130_834557_9A28CB52 X-CRM114-Status: GOOD ( 12.93 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, Linus Walleij , mturquette@linaro.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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-7.0 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 __initconst should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat Cc: Linus Walleij Acked-by: Linus Walleij --- drivers/clk/clk-nomadik.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index 6d819a3..51410c2 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -479,12 +479,12 @@ static void __init of_nomadik_src_clk_setup(struct device_node *np) of_clk_add_provider(np, of_clk_src_simple_get, clk); } -static const __initconst struct of_device_id nomadik_src_match[] = { +static const struct of_device_id nomadik_src_match[] __initconst = { { .compatible = "stericsson,nomadik-src" }, { /* sentinel */ } }; -static const __initconst struct of_device_id nomadik_src_clk_match[] = { +static const struct of_device_id nomadik_src_clk_match[] __initconst = { { .compatible = "fixed-clock", .data = of_fixed_clk_setup,