[PATCH 5/5] clk: sunxi: Remove clk_register_clkdev calls

Maxime Ripard maxime.ripard at free-electrons.com
Wed Feb 3 11:29:13 PST 2016


On Tue, Feb 02, 2016 at 11:26:04AM +0100, Jean-Francois Moine wrote:
> On Tue,  2 Feb 2016 09:47:14 +0100
> Maxime Ripard <maxime.ripard at free-electrons.com> wrote:
> 
> > diff --git a/drivers/clk/sunxi/clk-mod0.c b/drivers/clk/sunxi/clk-mod0.c
> > index 578bff0dd251..b38d71cec74c 100644
> > --- a/drivers/clk/sunxi/clk-mod0.c
> > +++ b/drivers/clk/sunxi/clk-mod0.c
> > @@ -15,6 +15,7 @@
> >   */
> >  
> >  #include <linux/clk.h>
> > +#include <linux/clkdev.h>
> 
> Why?

Because this driver uses __clk_get, that it was previously included in
clk-factors.h and is not anymore, and that otherwise it won't compile,
obviously.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160203/bfdb411e/attachment.sig>


More information about the linux-arm-kernel mailing list