aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorStafford Horne <[email protected]>2022-07-22 21:22:48 +0000
committerBjorn Helgaas <[email protected]>2022-07-29 17:01:00 +0000
commit933c5a4f87d92a865d1db76caf190f1a4a1927f9 (patch)
treed74cf4dde639e9cae48c7108c985b344cd04cc46 /fs/ext4/fast_commit.c
parentx86/cyrix: include header linux/isa-dma.h (diff)
downloadkernel-933c5a4f87d92a865d1db76caf190f1a4a1927f9.tar.gz
kernel-933c5a4f87d92a865d1db76caf190f1a4a1927f9.zip
PCI: Stub __pci_ioport_map() for arches that don't support it at all
When building OpenRISC PCI, which has no ioport_map(), we get the following build error: lib/pci_iomap.c: In function 'pci_iomap_range': CC drivers/i2c/i2c-core-base.o ./include/asm-generic/pci_iomap.h:29:41: error: implicit declaration of function 'ioport_map'; did you mean 'ioremap'? [-Werror=implicit-function-declaration] 29 | #define __pci_ioport_map(dev, port, nr) ioport_map((port), (nr)) | ^~~~~~~~~~ lib/pci_iomap.c:44:24: note: in expansion of macro '__pci_ioport_map' 44 | return __pci_ioport_map(dev, start, len); | ^~~~~~~~~~~~~~~~ Add a NULL definition of __pci_ioport_map() for architectures that do not support ioport_map(). Suggested-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stafford Horne <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions