From patchwork Mon Apr 8 16:46:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2410311 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 883603FC71 for ; Mon, 8 Apr 2013 16:46:38 +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 1UPFDJ-0007uY-3c; Mon, 08 Apr 2013 16:46:37 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UPFDG-0003In-D3; Mon, 08 Apr 2013 16:46:34 +0000 Received: from mail-bk0-x230.google.com ([2a00:1450:4008:c01::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UPFDD-0003IU-1j for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2013 16:46:31 +0000 Received: by mail-bk0-f48.google.com with SMTP id jf3so3128019bkc.7 for ; Mon, 08 Apr 2013 09:46:25 -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=Q2UgswG+20K8T5WIBaGO+beHd79Vvfwl91ZvhB0qdjsIhQDqSWrkji2PBEoz/FRofn Lw8oUrNAQRCYNwvDlNxAFRlMd2/V3/4AsAgIaOB4J4TbgG070FbL1hDhjlr9UE/u2l+G A+Miz9/xeNxlrbiugcXw54LFv0o1eDU47vNuUTwdXZS7M3EXtj1AWaKhyb7iPqkVduSD 68TzBPJ6Kc4PpGWnf02BiqpxoG/mlrMUEdmn1tP22bYo2UHMXPYL6q55h62zF3pinP4I xeq1Tgh+od4H8ptAZeKvcKiaISmKndsrxx03DBiVgy3jMIVFJCZACAMfjR0Z86sonzt+ SokA== X-Received: by 10.204.183.194 with SMTP id ch2mr11244610bkb.114.1365439585600; Mon, 08 Apr 2013 09:46:25 -0700 (PDT) Received: from edge.mip.uni-hannover.de (ip33.249.mip.uni-hannover.de. [130.75.249.33]) by mx.google.com with ESMTPS id m11sm11322067bkz.0.2013.04.08.09.46.24 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 09:46:24 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH] clk: export __clk_get_flags for modular clock providers Date: Mon, 8 Apr 2013 18:46:01 +0200 Message-Id: <1365439561-18783-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-20130408_124631_272110_90573E9A X-CRM114-Status: GOOD ( 10.38 ) 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) {