Subject: [PATCH 2/6 v3] ARM: integrator: check PL010 base address from resource

From: [email-masked] (Arnd Bergmann)
Date: Mon, 3 Sep 2012 20:10:45 +0000

On Monday 03 September 2012, Linus Walleij wrote:
> 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.
> 
> Signed-off-by: Linus Walleij <[email-masked]>
> ---
> ChangeLog v2->v3:
> - Check for the base address of the physical memory resource instead
>   of checking for the device name (which will also be dynamic when
>   we use device tree).

Ok, looks good to me.

Acked-by: Arnd Bergmann <[email-masked]>