From patchwork Mon Apr 15 06:59:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2443981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id D9AEBDF2E5 for ; Mon, 15 Apr 2013 07:00:19 +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 1URdOe-0007pO-0U; Mon, 15 Apr 2013 07:00:12 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1URdOb-0002Qq-Kz; Mon, 15 Apr 2013 07:00:09 +0000 Received: from mail-bk0-x22b.google.com ([2a00:1450:4008:c01::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1URdOY-0002QX-0h for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2013 07:00:06 +0000 Received: by mail-bk0-f43.google.com with SMTP id jm2so2209047bkc.30 for ; Mon, 15 Apr 2013 00:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=a5WRjgZNzy/ViOIIDUCn0qWccACUL+yEXNgQpc+myIc=; b=ejGFcXGZX1DEyyYmhQyE8SGURSQGO8qP5ta30pPF9I9LkiqsPmw2PKY0DQKvvAGoYr Ch6NT8VU60sB4ZB80yxrlUfPEkVhpKTst39MwuoPyGH1rYa9ODKTV2PawkLFYig/ZqI+ Pcdymxfrzpvmm9dhLI+U5qhMtPi0XTYdsOBk3dgpGCm/o2YaO8B0v55UiJtXZYKpV51j pylbRr6bdJOAT13Y4uhPRlWDLEiQZ6x9MKjaYhuCpB8sr+sOgWHPHpktP98rgC9tnFVp z71BupnNY2kCq9N4XNXsrDWNTVBah11N13Z0SrroL/gOd6cx6JWi30rBZsIBzGnEIO3Z pKlA== X-Received: by 10.205.45.74 with SMTP id uj10mr7573222bkb.139.1366009203723; Mon, 15 Apr 2013 00:00:03 -0700 (PDT) Received: from edge.lan (dslc-082-083-223-114.pools.arcor-ip.net. [82.83.223.114]) by mx.google.com with ESMTPS id jt9sm7733216bkb.18.2013.04.15.00.00.02 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 00:00:02 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH RESEND] clk: export __clk_get_flags for modular clock providers Date: Mon, 15 Apr 2013 08:59:46 +0200 Message-Id: <1366009186-32199-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130415_030006_256593_17ACC36B X-CRM114-Status: GOOD ( 10.11 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Mike Turquette , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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 The common clock api provides some helpers for clk-providers but does not export these helpers. This hinders clk-providers to be built as modules. This patch adds __clk_get_flags() to the list of exported symbols. Signed-off-by: Sebastian Hesselbarth --- Cc: Mike Turquette Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/clk/clk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index ed87b24..3e478b8 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -450,6 +450,7 @@ unsigned long __clk_get_flags(struct clk *clk) { return !clk ? 0 : clk->flags; } +EXPORT_SYMBOL_GPL(__clk_get_flags); bool __clk_is_enabled(struct clk *clk) {