[PATCH 2/6] clk: ux500: pass clock base adresses in init call

Arnd Bergmann arnd at arndb.de
Thu Mar 21 08:10:47 EDT 2013


On Thursday 21 March 2013 12:49:09 Linus Walleij wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
> 
> The ux500 clock driver was including <mach/db8500-regs.h>
> which will not work when building for multiplatform support
> since <mach/*> is going away.
> 
> Pass the base adresses in the init call instead.
> 
> Cc: Ulf Hansson <ulf.hansson at linaro.org>
> Cc: Mike Turquette <mturquette at linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

It would be nicer to read the base addresses from DT properties and
convert the driver to use CLK_OF_DECLARE(), but this works too,
and it leaves the non-DT path alone for now.

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list