[PATCH v1] clk: pxa clocks build system fix

Arnd Bergmann arnd at arndb.de
Mon Oct 6 14:36:43 PDT 2014


On Monday 06 October 2014 23:25:13 Robert Jarzmik wrote:
> Arnd Bergmann <arnd at arndb.de> writes:
> 
> > On Sunday 05 October 2014 13:43:58 Mike Turquette wrote:
> >> Quoting Robert Jarzmik (2014-10-01 14:39:29)
> >> > Fix the building of pxa clock drivers so that the files are actually
> >> > compiled if and only if COMMON_CLK was selected by the architecture.
> >> > 
> >> > This prevents conflicts with mach-pxa clock legacy implementation.
> >> > 
> >> > Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
> >> 
> >
> > I seem to still hit a build error with this applied in e.g.
> > build/palmz72_defconfig, which enables both pxa25x and pxa27x,
> > so I get both the pxa250 private clock code and the pxa270
> > common clock code, resulting in this error message:
> Do you have the patch "Revert "arm: pxa: Transition pxa27x to clk framework" in
> your tree ?
> 
> Normally the fix was made of :
>  - the fixup patch "clk: pxa clocks build system fix"
>  - the revert queued by Mike "arm: pxa: Transition pxa27x to clk framework"

No, I was missing that one, sorry for the noise. It works now after
I've applied it. I was using the latest -next kernel as a base and assumed
that it had all the latest fixes from Mike's tree.

	Arnd



More information about the linux-arm-kernel mailing list