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

Arnd Bergmann arnd at arndb.de
Mon Sep 3 16:10:45 EDT 2012


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 <linus.walleij at linaro.org>
> ---
> 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 <arnd at arndb.de>



More information about the linux-arm-kernel mailing list