From patchwork Mon Sep 22 14:12:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 4947941 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 BDBA89F349 for ; Mon, 22 Sep 2014 14:16:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 92E36201D3 for ; Mon, 22 Sep 2014 14:16:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55E0820125 for ; Mon, 22 Sep 2014 14:16:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XW4Me-0006qc-8t; Mon, 22 Sep 2014 14:13:16 +0000 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XW4MV-0006lH-Qa for linux-arm-kernel@lists.infradead.org; Mon, 22 Sep 2014 14:13:08 +0000 Received: by mail-we0-f175.google.com with SMTP id u57so2151624wes.34 for ; Mon, 22 Sep 2014 07:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=LrlVrvgrmI2JKDdMtCmCkW4YGftsCRx70jpnhIqOwgQ=; b=Mc5D/vP2iJmiar+9QvpWU95kj/ZE7aKuKRAeNRd39sqyPdYDKN57RLfJe36MGBNWHB 1Mh5WHNMPb76DvGM6in46M2lm2mSpKwc9Wm70yLVrZF/RzLtL4Vmb6gJAvVybWFnIT2b uaRkREfezhj2T88uRwOac6z5u3vZ27xCy5R4yYy3HLriMeIcf87VvECKWaiG4yjkt48U sBG8H72ovbtpKYWZp7tf2vJtczQQqxp+GAhBv4/S/DvyK/DAo6OtHoIedfDBr3oy6h3T W1ndVwIJ2HMeb0ZqbIEVkwGio32GmOFP2wtb27ULCEfPazOAh372QIajy7lp/po5cJfk qT2w== X-Received: by 10.195.11.234 with SMTP id el10mr3472394wjd.95.1411395165802; Mon, 22 Sep 2014 07:12:45 -0700 (PDT) Received: from cizrna.lan (37-48-36-100.tmcz.cz. [37.48.36.100]) by mx.google.com with ESMTPSA id ua8sm12476977wjc.7.2014.09.22.07.12.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Sep 2014 07:12:44 -0700 (PDT) From: Tomeu Vizoso To: Mike Turquette Subject: [PATCH v12 01/10] clk: Export __clk_put and __clk_get so they can be used by modules Date: Mon, 22 Sep 2014 16:12:03 +0200 Message-Id: <1411395124-2476-2-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1411395124-2476-1-git-send-email-tomeu.vizoso@collabora.com> References: <1411395124-2476-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140922_071308_009380_8D7D3272 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Tomeu Vizoso , Stephen Warren , Peter De Schrijver , linux-kernel@vger.kernel.org, tomasz.figa@gmail.com, rabin@rab.in, Thierry Reding , Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 This is needed for the split between provider and user clk APIs, for clocks that are implemented in modules. Signed-off-by: Tomeu Vizoso --- drivers/clk/clk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index b76fa69..5db9710 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2197,6 +2197,7 @@ int __clk_get(struct clk *clk) } return 1; } +EXPORT_SYMBOL(__clk_get); void __clk_put(struct clk *clk) { @@ -2209,6 +2210,7 @@ void __clk_put(struct clk *clk) module_put(clk->owner); } +EXPORT_SYMBOL(__clk_put); /*** clk rate change notifiers ***/