[PATCH v3] amba: consolidate PrimeCell magic
Jassi Brar
jassisinghbrar at gmail.com
Wed Aug 17 04:37:37 EDT 2011
On Wed, Aug 17, 2011 at 2:00 PM, Linus Walleij
<linus.walleij at stericsson.com> wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
>
> Since three drivers use the PrimeCell scheme without using the
> amba_bus driver logic, let's break the magic lookups out as
> static inlines in the <linux/amba/bus.h> header so we get
> some consolidation anyway. Delete the primecell ID check in
> common/pl330.c since it will soon only be used from the amba_bus
> driver in drivers/dma, which is already doing the same check
> when probing in drivers/amba/bus.c.
>
> Cc: Jassi Brar <jassisinghbrar at gmail.com>
> Cc: Kukjin Kim <kgene.kim at samsung.com>
> Cc: Viresh Kumar <viresh.kumar at st.com>
> Cc: H Hartley Sweeten <hartleys at visionengravers.com>
> Acked-by: Boojin Kim <boojin.kim at samsung.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Acked-by: Jassi Brar <jassisinghbrar at gmail.com>
thnx
More information about the linux-arm-kernel
mailing list