ARM: integrator: get the CM control register by proxy
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Oct 2013 12:11:18 +0000 (14:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 12:09:31 +0000 (14:09 +0200)
commitfb61f8622369aad275a4e3487b8aeec7a571fdde
tree0bd297dbd8b79f6918326782a40a86a55c5c3322
parentd0e639c9e06d44e713170031fe05fb60ebe680af
ARM: integrator: get the CM control register by proxy

The CM_CTRL register was accessed directly from the LED driver,
which does not work now that we get the base for the register
from the device tree. Add an accessor function to do this and
make the LED driver compile again.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/include/mach/cm.h
arch/arm/mach-integrator/leds.c