From patchwork Mon Aug 12 09:14:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2842907 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 C70009F239 for ; Mon, 12 Aug 2013 09:32:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 023A720211 for ; Mon, 12 Aug 2013 09:32:35 +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 3F3572020F for ; Mon, 12 Aug 2013 09:32:30 +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 1V8oTs-0004JF-Is; Mon, 12 Aug 2013 09:32:05 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8oTe-0003Tr-VR; Mon, 12 Aug 2013 09:31:50 +0000 Received: from mail-pa0-f45.google.com ([209.85.220.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8oTN-0003Q9-Tn for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2013 09:31:34 +0000 Received: by mail-pa0-f45.google.com with SMTP id bg4so7254645pad.18 for ; Mon, 12 Aug 2013 02:31:12 -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=wz2xC6qDznocN63nfrIm4GxjWT1bLxb+dpCPHyVHARQ=; b=ZjpZK2kUCPOXB+Uf2wVXHZ0R1qp8LiLfFQdiF6rkZJbqqhCpxSVcfvnVwYODbSQolh ruvSOQqYCjhMvPJ3vQkEc/5JdIxS7QEJoi6tnojHGTnSGpNcDHhVHVD7zv5ngAc1YAKr eo4VEhjfDucRzDMMxjYFCglXGuQd8yxvNbDWtJertqnEbkMVxlCsw6WaiwORm8ZhSEH3 h6WWgsHtVVuJnvU9QYfmOFHclsW4HqHoHfQjd874J5/7XmiZl705lWoNsYDYaqK5uHWx lVeZwQL0OyTJcMQDwjb+1KgTNtLrVauttQIQMPeAbPdniYD/WH+MNzZCYPUv67Egglep ijpg== X-Gm-Message-State: ALoCoQl6acjlcbXxoXc3YwI9stiKy+ovgJNsVbBdZcmAh9bnT5XQ1j3NRR1XnMfW3zKzOaKfkyd+ X-Received: by 10.68.203.105 with SMTP id kp9mr23741598pbc.78.1376299872490; Mon, 12 Aug 2013 02:31:12 -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.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 02:31:11 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/9] clk: u300: Fix incorrect placement of __initconst Date: Mon, 12 Aug 2013 14:44:01 +0530 Message-Id: <1376298847-21828-3-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_053134_086172_EE63D865 X-CRM114-Status: GOOD ( 13.10 ) 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. While at it also make 'u300_clk_lookup' static as it is used only in this file. Signed-off-by: Sachin Kamat Cc: Linus Walleij Acked-by: Linus Walleij --- drivers/clk/clk-u300.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-u300.c b/drivers/clk/clk-u300.c index 8774e05..3efbdd0 100644 --- a/drivers/clk/clk-u300.c +++ b/drivers/clk/clk-u300.c @@ -746,7 +746,7 @@ struct u300_clock { u16 clk_val; }; -struct u300_clock const __initconst u300_clk_lookup[] = { +static struct u300_clock const u300_clk_lookup[] __initconst = { { .type = U300_CLK_TYPE_REST, .id = 3, @@ -1151,7 +1151,7 @@ static void __init of_u300_syscon_mclk_init(struct device_node *np) of_clk_add_provider(np, of_clk_src_simple_get, clk); } -static const __initconst struct of_device_id u300_clk_match[] = { +static const struct of_device_id u300_clk_match[] __initconst = { { .compatible = "fixed-clock", .data = of_fixed_clk_setup,