From mboxrd@z Thu Jan 1 00:00:00 1970 From: robert.jarzmik@free.fr (Robert Jarzmik) Date: Mon, 06 Oct 2014 23:25:13 +0200 Subject: [PATCH v1] clk: pxa clocks build system fix In-Reply-To: <2017199.vcTs1JkoqL@wuerfel> (Arnd Bergmann's message of "Mon, 06 Oct 2014 22:35:26 +0200") References: <1412199569-27958-1-git-send-email-robert.jarzmik@free.fr> <20141005204358.4379.67145@quantum> <2017199.vcTs1JkoqL@wuerfel> Message-ID: <8761fwc2me.fsf@free.fr> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Arnd Bergmann 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 >> > > 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" Cheers. -- Robert