From patchwork Fri Aug 16 02:16:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Turquette X-Patchwork-Id: 2845353 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 B6F03BF546 for ; Fri, 16 Aug 2013 02:18:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4367201E4 for ; Fri, 16 Aug 2013 02:18:23 +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 E18862016D for ; Fri, 16 Aug 2013 02:18:22 +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 1VA9cH-0000W4-QJ; Fri, 16 Aug 2013 02:18:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VA9cF-0006Hc-BX; Fri, 16 Aug 2013 02:18:15 +0000 Received: from mail-pd0-f178.google.com ([209.85.192.178]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VA9cB-0006H6-FH for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2013 02:18:12 +0000 Received: by mail-pd0-f178.google.com with SMTP id w10so1591937pde.9 for ; Thu, 15 Aug 2013 19:17:49 -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=Zs7l+VeaCdGTd4bkZiKtsV6p1hW9H07XoVdFdGoJYDU=; b=EZw2LmiFunki8v0Ou8sp9FXfDvbhAzEGToO5Ih90UcDh+hjmMPNPNh8HQwZ+jpt6CU LnPPRVCQVyMLds3pn0LJ9g68Qvd1+AKNZn+PIMSgt77rxitm+y0TVxk42epFhKQHT4uc iGlMYMmBUbYEahCthQYSb+1oDV/gN6zu8JQVk4+dKjvC//fbVf3Sk0CVDujFXamYW0Sc IPbMDs1fvFjwqzuq8REriaMmRlzKLU51a0uUOHSFN/PYOpOSuZorE4uOoji1i5R2myTZ PrCpdUeC8n7TdeCCZ+SkVEUXdvcr8QAKtnPL/gRHD65hCUYKkhoWWBiy3eDY0hS/fQNY Wc0A== X-Gm-Message-State: ALoCoQnu4PY+Pztd2saRncSoy02R82PFwvGVvrlywd/Whw1VVZN12M6dOH7vUYhpxB08qU9ULQiJ X-Received: by 10.68.196.202 with SMTP id io10mr53610pbc.178.1376619469557; Thu, 15 Aug 2013 19:17:49 -0700 (PDT) Received: from localhost.localdomain (c-174-62-77-112.hsd1.ca.comcast.net. [174.62.77.112]) by mx.google.com with ESMTPSA id a5sm3075577pbw.4.2013.08.15.19.17.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 Aug 2013 19:17:48 -0700 (PDT) From: Mike Turquette To: linux-kernel@vger.kernel.org Subject: [PATCH] clk: export fixed-factor, gate & mux registration Date: Thu, 15 Aug 2013 19:16:48 -0700 Message-Id: <1376619408-19923-1-git-send-email-mturquette@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130815_221811_643657_6E0309B2 X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Mike Turquette , 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 X-Spam-Status: No, score=-7.0 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 These registration calls may be used by loadable modules. Export them. Signed-off-by: Mike Turquette --- drivers/clk/clk-fixed-factor.c | 2 ++ drivers/clk/clk-gate.c | 1 + drivers/clk/clk-mux.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c index 9ff7d51..0e1d89b 100644 --- a/drivers/clk/clk-fixed-factor.c +++ b/drivers/clk/clk-fixed-factor.c @@ -97,6 +97,8 @@ struct clk *clk_register_fixed_factor(struct device *dev, const char *name, return clk; } +EXPORT_SYMBOL_GPL(clk_register_fixed_factor); + #ifdef CONFIG_OF /** * of_fixed_factor_clk_setup() - Setup function for simple fixed factor clock diff --git a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c index 790306e..2b28a00 100644 --- a/drivers/clk/clk-gate.c +++ b/drivers/clk/clk-gate.c @@ -161,3 +161,4 @@ struct clk *clk_register_gate(struct device *dev, const char *name, return clk; } +EXPORT_SYMBOL_GPL(clk_register_gate); diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c index 92f1a1b..b918dc3 100644 --- a/drivers/clk/clk-mux.c +++ b/drivers/clk/clk-mux.c @@ -162,6 +162,7 @@ struct clk *clk_register_mux_table(struct device *dev, const char *name, return clk; } +EXPORT_SYMBOL_GPL(clk_register_mux_table); struct clk *clk_register_mux(struct device *dev, const char *name, const char **parent_names, u8 num_parents, unsigned long flags, @@ -174,3 +175,4 @@ struct clk *clk_register_mux(struct device *dev, const char *name, flags, reg, shift, mask, clk_mux_flags, NULL, lock); } +EXPORT_SYMBOL_GPL(clk_register_mux);