ARM: integrator_cp: fix build failure
authorOlof Johansson <olof@lixom.net>
Sun, 7 Oct 2012 17:42:40 +0000 (10:42 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 9 Oct 2012 15:20:03 +0000 (08:20 -0700)
commit6e3a78d9474f54c0b2b5293a561548106243eeaf
tree68a0f8332e19d91466f787dd92ece65123e207c7
parent096947fdab96fd97df47b10b8547382290ef9fcd
ARM: integrator_cp: fix build failure

arch/arm/mach-integrator/integrator_cp.c:272:32: error: 'of_aliases'
undeclared (first use in this function)

Move the OF-only timer init under #ifdef CONFIG_OF, just like
integrator_ap has it.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-integrator/integrator_cp.c