From patchwork Thu Aug 8 04:31:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2840733 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 69FEEBF535 for ; Thu, 8 Aug 2013 04:48:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7CB7B20125 for ; Thu, 8 Aug 2013 04:48:45 +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 701AF20109 for ; Thu, 8 Aug 2013 04:48:44 +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 1V7I9S-0001bD-8E; Thu, 08 Aug 2013 04:48:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7I9P-0005pI-UL; Thu, 08 Aug 2013 04:48:39 +0000 Received: from mail-pb0-f48.google.com ([209.85.160.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7I9N-0005oo-TS for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2013 04:48:38 +0000 Received: by mail-pb0-f48.google.com with SMTP id ma3so2674970pbc.7 for ; Wed, 07 Aug 2013 21:48:16 -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; bh=OPRLoUoC1L3rvPhdKVsKqLr+pyrkm+sDXoxG2HE0O/c=; b=FZXa2hNT/z3wyFtbK4KBCtuIAW1L6uKJj6X40fcXQS2o3eid7r1TmZoiOFFGBqLm+1 lgeOKELTWrgMDH3Gv7JB7aBM6fohqszv6Wa7J0xGgLJWafrLhzJ19hTwr4NrowQNhexf jVPeE+lyli/lJRVKm8hyhU2Q+qexapOJm9KF+gnd3b4deV1i8trKlYtsm0z1R9PzkznL ezKl51ty9VqDQUsY9jslAk6yhZpa0tOMyKOPibO7meD9kEJO6XznWzBD4HOI2Hv8Dr0R 5Mm1qf6KaEBT0n1JxOFKc/MS4lJ5Nj/zADcHLdpfOWELmso26z8A3RaHeDfOYSU1CfWq m5hw== X-Gm-Message-State: ALoCoQnPOTDGR9ZRtYFdR59qH+xpIR6Y9b7ib6yxqYqns7w4K1+Wk3EgEnuSQPTh1c8W0MOmzs9J X-Received: by 10.66.224.237 with SMTP id rf13mr4183319pac.26.1375937295976; Wed, 07 Aug 2013 21:48:15 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id z14sm11754906pbt.0.2013.08.07.21.48.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 21:48:15 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] clk: prima2: Fix incorrect placement of __initdata Date: Thu, 8 Aug 2013 10:01:26 +0530 Message-Id: <1375936286-32075-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130808_004838_061005_D2B648D0 X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, mturquette@linaro.org, Baohua.Song@csr.com 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=-4.2 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 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 --- drivers/clk/clk-prima2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-prima2.c b/drivers/clk/clk-prima2.c index 643ca65..5ab95f1 100644 --- a/drivers/clk/clk-prima2.c +++ b/drivers/clk/clk-prima2.c @@ -1034,7 +1034,7 @@ enum prima2_clk_index { usb0, usb1, maxclk, }; -static __initdata struct clk_hw* prima2_clk_hw_array[maxclk] = { +static struct clk_hw *prima2_clk_hw_array[maxclk] __initdata = { NULL, /* dummy */ NULL, &clk_pll1.hw,