mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Alessandro Rubini <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
e42d50baf4
commit
c2955da0e1
2 changed files with 8 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue