From patchwork Tue Oct 8 11:17:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3003021 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 4485C9F243 for ; Tue, 8 Oct 2013 11:22:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE4F820149 for ; Tue, 8 Oct 2013 11:22:04 +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 BB5652009C for ; Tue, 8 Oct 2013 11:21:59 +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 1VTVKz-0007Xp-1C; Tue, 08 Oct 2013 11:20:25 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTVKQ-0003q2-96; Tue, 08 Oct 2013 11:19:50 +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 1VTVJa-0003jl-D1 for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2013 11:18:59 +0000 Received: by mail-pa0-f47.google.com with SMTP id kp14so8658699pab.6 for ; Tue, 08 Oct 2013 04:18:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9YGzYy8swXqVdN8QZx2vgxtDkxt8VHmn+IT+akHyY6E=; b=L1bi7Mg6xXGiRrQTTzmBFZS1zSEkakbXpHMCxBVMxnLsQKYoJlkXfETAmH41WJcoHx lN/dSa4HpDpSeKaGEv2OhGh8vRDWxzMl0ogfXZty7IUvjezly7AcwLMuGGYEhd0VacGi uTyU/4SIWWZtIo3OQDIrXWYA8g3kEtemRe9ns3FQwfVMqaH65jqqO8AuhmhWOogLlbTd X0excXrii70O4W2Upxv1pt2TKSHeKukH6ZZQ8T5u5oDbNjWjgzYaE8JS+XXOhWxBlnb3 co4PhvFUXl4/zNzfD8FOgJsD6OzH0BJQcgNc53O0GSQ55WXHIGMq5OUQFzMNAcZBM2kB irOg== X-Gm-Message-State: ALoCoQnnDrU+EA89rZNXTTgUsaPoXTpq6YHcLWey3hzmhBGJiclVmGc4XlpXYO9oAFzSrI0fYZ+y X-Received: by 10.66.226.46 with SMTP id rp14mr2872668pac.133.1381231117077; Tue, 08 Oct 2013 04:18:37 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id tz3sm39406818pbc.20.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 04:18:36 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/10] clk: mvebu: Staticize of_cpu_clk_setup Date: Tue, 8 Oct 2013 16:47:45 +0530 Message-Id: <1381231068-6053-7-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1381231068-6053-1-git-send-email-sachin.kamat@linaro.org> References: <1381231068-6053-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131008_071858_577095_560C5725 X-CRM114-Status: GOOD ( 12.29 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, 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=-4.5 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 'of_cpu_clk_setup' is used only in this file. Make it static. Signed-off-by: Sachin Kamat Acked-by: Gregory CLEMENT --- drivers/clk/mvebu/clk-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mvebu/clk-cpu.c b/drivers/clk/mvebu/clk-cpu.c index 1466865..8ebf757 100644 --- a/drivers/clk/mvebu/clk-cpu.c +++ b/drivers/clk/mvebu/clk-cpu.c @@ -101,7 +101,7 @@ static const struct clk_ops cpu_ops = { .set_rate = clk_cpu_set_rate, }; -void __init of_cpu_clk_setup(struct device_node *node) +static void __init of_cpu_clk_setup(struct device_node *node) { struct cpu_clk *cpuclk; void __iomem *clock_complex_base = of_iomap(node, 0);