On 24 November 2012 06:23, Davide Ciminaghi <cimina...@gnudd.com> wrote: > From: Alessandro Rubini <rub...@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 just adds the "PL330_" prefix to all register and bit fields, > so it can be built by randomconfig after ARM_AMBA appears within x86.
Prefixing only CS and DS should be do the job. Why do we have to make every symbol noisy with PL330_ ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/