[PATCH 09/13] ARM: spear: make clock driver independent of headers

Mike Turquette mturquette at linaro.org
Sat Jan 26 12:54:14 EST 2013


Quoting Arnd Bergmann (2013-01-25 15:35:52)
> Device drivers should not access MMIO registers through hardcoded
> platform specific address constants. Instead, we can pass the
> MMIO token to the spear clock driver in the initialization routine
> to contain that knowledge in the platform code itself.
> 
> Ideally, the clock driver would use of_iomap() or similar to
> get the address, and that can be used later, but for now, this
> is the minimal change.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Hi Arnd,

This change appears good to me (but needs testing).

Regards,
Mike



More information about the linux-arm-kernel mailing list