summaryrefslogtreecommitdiffstats
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-05-17 16:41:17 -0700
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-06-03 17:27:23 +0100
commit5be967d5016ac5ffb9c4d0df51b48441ee4d5ed1 (patch)
treeb75391eaf30f9316ae829df3603bfa9acef20de2 /include/linux/fpga/fpga-mgr.h
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-5be967d5016ac5ffb9c4d0df51b48441ee4d5ed1.tar.gz
linux-5be967d5016ac5ffb9c4d0df51b48441ee4d5ed1.tar.bz2
linux-5be967d5016ac5ffb9c4d0df51b48441ee4d5ed1.zip
PCI: ftpci100: Rename macro name collision
PCI_IOSIZE is defined in mach-loongson64/spaces.h, so change the name of the PCI_* macros in pci-ftpci100.c to use FTPCI_* so that they are more localized and won't conflict with other drivers or arches. ../drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined 37 | #define PCI_IOSIZE 0x00 | In file included from ../arch/mips/include/asm/addrspace.h:13, ... from ../drivers/pci/controller/pci-ftpci100.c:15: arch/mips/include/asm/mach-loongson64/spaces.h:11: note: this is the location of the previous definition 11 | #define PCI_IOSIZE SZ_16M Suggested-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210517234117.3660-1-rdunlap@infradead.org Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Krzysztof WilczyƄski <kw@linux.com> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions