mach-ux500: fix i2c0 device setup regression
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Mar 2011 12:31:42 +0000 (14:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Apr 2011 16:43:53 +0000 (18:43 +0200)
commitcf568c58eb192368f5e796df935704535b54f451
tree1f69fbd6e177e0091a0bea5329d770320b0d8237
parentf0e615c3cb72b42191b558c130409335812621d8
mach-ux500: fix i2c0 device setup regression

Adding two sets of I2C devices to the same bus doesn't quite work,
atleast not anymore. Stash one array and determine how much of it
shall be added instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c