]> Git Repo - linux.git/commit
parisc: Declare pci_iounmap() parisc version only when CONFIG_PCI enabled
authorHelge Deller <[email protected]>
Sun, 19 Sep 2021 17:36:09 +0000 (10:36 -0700)
committerLinus Torvalds <[email protected]>
Sun, 19 Sep 2021 17:36:09 +0000 (10:36 -0700)
commit9caea0007601d3bc6debec04f8b4cd6f4c2394be
treefd3c00559d034158402b15a3daf0a836e68754bc
parent31ad37bd6faf871c070650f72ac9488ceeeceeb0
parisc: Declare pci_iounmap() parisc version only when CONFIG_PCI enabled

Linus noticed odd declaration rules for pci_iounmap() in iomap.h and
pci_iomap.h, where it dependend on either NO_GENERIC_PCI_IOPORT_MAP or
GENERIC_IOMAP when CONFIG_PCI was disabled.

Testing on parisc seems to indicate that we need pci_iounmap() only when
CONFIG_PCI is enabled, so the declaration of pci_iounmap() can be moved
cleanly into pci_iomap.h in sync with the declarations of pci_iomap().

Link: https://lore.kernel.org/all/CAHk-=wjRrh98pZoQ+AzfWmsTZacWxTJKXZ9eKU2X_0+jM=O8nw@mail.gmail.com/
Signed-off-by: Helge Deller <[email protected]>
Suggested-by: Linus Torvalds <[email protected]>
Fixes: 97a29d59fc22 ("[PARISC] fix compile break caused by iomap: make IOPORT/PCI mapping functions conditional")
Cc: Arnd Bergmann <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Ulrich Teichert <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/parisc/lib/iomap.c
include/asm-generic/iomap.h
include/asm-generic/pci_iomap.h
This page took 0.057778 seconds and 4 git commands to generate.