From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 01 Sep 2010 11:13:02 +0000 Subject: Re: [RFC] [PATCH] arm & sh: factorised duplicated clkdev.c Message-Id: <20100901111302.GE22790@game.jcrosoft.org> List-Id: References: <1283253402-3139-1-git-send-email-plagnioj@jcrosoft.com> <20100901091233.GK8142@n2100.arm.linux.org.uk> In-Reply-To: <20100901091233.GK8142@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On 10:12 Wed 01 Sep , Russell King - ARM Linux wrote: > On Tue, Aug 31, 2010 at 01:16:42PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > factorise some generic infrastructure to assist looking up struct clks > > for the ARM & SH architecture. > > +/* > > + * Returns a clock. Note that we first try to use device id on the bus > > + * and clock name. If this fails, we try to use clock name only. > > + */ > > struct clk *clk_get(struct device *dev, const char *con_id) > > { > > const char *dev_id = dev ? dev_name(dev) : NULL; > > > > return clk_get_sys(dev_id, con_id); > > } > > -EXPORT_SYMBOL(clk_get); > > +EXPORT_SYMBOL_GPL(clk_get); > > > > void clk_put(struct clk *clk) > > { > > __clk_put(clk); > > } > > -EXPORT_SYMBOL(clk_put); > > +EXPORT_SYMBOL_GPL(clk_put); > > Please leave these as-is. ok but on SH it's GPL so it is ok with you Paul too? Best Regards, J.