From patchwork Mon Oct 7 17:53:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2998371 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 A877F9F245 for ; Mon, 7 Oct 2013 17:53:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8CDC220205 for ; Mon, 7 Oct 2013 17:53:54 +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 3A5A1201EC for ; Mon, 7 Oct 2013 17:53:53 +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 1VTF09-0005WL-WF; Mon, 07 Oct 2013 17:53:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTF07-0004Ms-6k; Mon, 07 Oct 2013 17:53:47 +0000 Received: from mail-bk0-x236.google.com ([2a00:1450:4008:c01::236]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTF04-0004M7-Cf for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2013 17:53:45 +0000 Received: by mail-bk0-f54.google.com with SMTP id mz12so2830629bkb.13 for ; Mon, 07 Oct 2013 10:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=j4dEhBwn/jWUge2awBITmuyTs8wz9297BJp70ubnIF8=; b=WUArqKJidR1ymbchQMa2Dub4UPpgo8O+db7EPB1f5ljmDf5SKNI62uBP1+rgheb7/Z 7Wqb1+D7pA9mml8AWt8yO57CnnPyFM2YWhoR3c28C4u+HcXhFA2QLbVCu2y+p7vmoSN8 3vdV4juTZ0HVJzlEIugjwsC5oAgT6OE2sfae65y0Y5krLcYsRN19FZqfrXb4Httg5nNC kd8YTvZIJkParvCio58Kq2bdqnJscloNlCTPxHyleDBYvE9btPWs05tEKxiJxXTXFK4a e4hB4NFmH3kUJHNqXo2hP3lSE6I5TscLs3zpNuPVa6I4j1fhQxLnel47RsksFYFRhVe5 hoiw== X-Received: by 10.204.168.197 with SMTP id v5mr28269851bky.24.1381168400882; Mon, 07 Oct 2013 10:53:20 -0700 (PDT) Received: from topkick.lan (dslc-082-083-247-252.pools.arcor-ip.net. [82.83.247.252]) by mx.google.com with ESMTPSA id jt14sm17931178bkb.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 10:53:20 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH] clk: nomadik: fix missing __init on nomadik_src_init Date: Mon, 7 Oct 2013 19:53:13 +0200 Message-Id: <1381168393-31687-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131007_135344_560823_515156F3 X-CRM114-Status: GOOD ( 11.87 ) X-Spam-Score: -2.0 (--) Cc: Kevin Hilman , Arnd Bergmann , "arm@kernel.org" , Olof Johansson , Linux ARM Kernel , Sebastian Hesselbarth 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.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 nomadik_src_init references __initconst sections but lacks an __init itself. Add __init to fix the section mismatch. Signed-off-by: Sebastian Hesselbarth Acked-by: Mike Turquette --- Fixing a section mismatch introduced by "ARM: provide common arch init for DT clocks for v3.13" Cc: Olof Johansson Cc: Arnd Bergmann Cc: Kevin Hilman Cc: "arm@kernel.org" Cc: Linux ARM Kernel --- drivers/clk/clk-nomadik.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index ce2d6b3..6a934a5 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -86,7 +86,7 @@ static const struct of_device_id nomadik_src_match[] __initconst = { { /* sentinel */ } }; -static void nomadik_src_init(void) +static void __init nomadik_src_init(void) { struct device_node *np; u32 val;