Re: [PATCH 1/8] DMA: PL330: use prefix in reg names to build under x86

From: Linus Walleij
Date: Sun Sep 16 2012 - 18:13:35 EST


On Fri, Sep 14, 2012 at 6:23 PM, Davide Ciminaghi
<dciminaghi@xxxxxxxxxxxxxx> wrote:

> From: Alessandro Rubini <rubini@xxxxxxxxx>
>
> This driver would not compile if ARM_AMBA is selected under x86,
> because "CS" and "DS" are already defined there. But AMBA
> is used in the x86 world by a PCI-to-AMBA bridge, to be submitted.
>
> The patch adds the "PL330_" prefix to all register and bit fields,
> so it can be built by randomconfig after ARM_AMBA appears within x86.
>
> Signed-off-by: Alessandro Rubini <rubini@xxxxxxxxx>
> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@xxxxxx>

Looks sound.
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/