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

Vinod Koul vinod.koul at linux.intel.com
Sun Sep 16 23:06:06 EDT 2012


On Fri, 2012-09-14 at 18:23 +0200, Davide Ciminaghi wrote:
> From: Alessandro Rubini <rubini at gnudd.com>
> 
> 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 at gnudd.com>
> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi at st.com>
> ---
Acked-by: Vinod Koul <vinod.koul at linux.intel.com>

-- 
~Vinod




More information about the linux-arm-kernel mailing list