[PATCH 03/10] clk/realview: stop using machine headers

Linus Walleij linus.walleij at linaro.org
Fri Feb 27 04:22:26 PST 2015


On Thu, Feb 26, 2015 at 5:10 PM, Arnd Bergmann <arnd at arndb.de> wrote:

> In order to move realview into multiplatform, we have to prevent device
> drivers from accessing the machine header files.
>
> In case of the clk driver, this is very simple, we just copy the
> small set of register definitions into the driver that needs them.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Sweet. We should move this to using syscon to access the registers
I guess but in the meantime this is still nice modularization.

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list