fmc: avoid readl/writel namespace conflict
The use of the 'readl' and 'writel' identifiers here causes build errors on architectures where those are macros. This renames the fields to read32/write32 to avoid the problem. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
e42d50baf4
commit
c2955da0e1
@@ -232,8 +232,8 @@ static int ff_validate(struct fmc_device *fmc, struct fmc_driver *drv)
|
||||
|
||||
|
||||
static struct fmc_operations ff_fmc_operations = {
|
||||
.readl = ff_readl,
|
||||
.writel = ff_writel,
|
||||
.read32 = ff_readl,
|
||||
.write32 = ff_writel,
|
||||
.reprogram = ff_reprogram,
|
||||
.irq_request = ff_irq_request,
|
||||
.read_ee = ff_read_ee,
|
||||
|
Reference in New Issue
Block a user