ARM: ux500: Fix initialisation order for UIBs
authorLee Jones <lee.jones@linaro.org>
Tue, 25 Sep 2012 15:03:45 +0000 (16:03 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 1 Nov 2012 11:59:21 +0000 (12:59 +0100)
commit0ddf855af6162df41345ea6afabd0190d751bfb9
treed8055c3ddf15a6e407fa78f93b7171bf8c35c9bc
parent809efa565a83dee14ae44726a7a2766960a11b62
ARM: ux500: Fix initialisation order for UIBs

An earlier change prevented User Interface Boards (UIBs) from being
initialised on boards which did not support them. This change had
the undesired effect of reordering the UIB initialisation calls with
I2C registration. Here we ensure UIBs are only setup after all
required infrastructure is already in place.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/cpu.c