ARM: 7515/1: integrator: check PL010 base address from resource
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 6 Sep 2012 08:07:27 +0000 (09:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 16 Sep 2012 23:25:42 +0000 (00:25 +0100)
In the PL010 UART callback a comparison against the location of the
statically allocated PL010 device is done to figure out which UART
is doing the callback. This does not play well with dynamic devices
such as in device tree, so let's check the base address of the
memory resource inside the amba_device instead.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found