diff options
| author | Baoquan He <[email protected]> | 2023-07-07 13:58:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-04 13:39:42 +0000 |
| commit | aefc8b57af7787c80686e49a5841e9289cb11f53 (patch) | |
| tree | 23c59c50e32b862e62ff2ef322a1e12dd4e491d4 /drivers/cdx/controller/cdx_controller.c | |
| parent | char: xillybus: make XILLYBUS_OF depend on HAS_IOMEM (diff) | |
| download | kernel-aefc8b57af7787c80686e49a5841e9289cb11f53.tar.gz kernel-aefc8b57af7787c80686e49a5841e9289cb11f53.zip | |
misc: open-dice: make OPEN_DICE depend on HAS_IOMEM
On s390 systems (aka mainframes), it has classic channel devices for
networking and permanent storage that are currently even more common
than PCI devices. Hence it could have a fully functional s390 kernel
with CONFIG_PCI=n, then the relevant iomem mapping functions
[including ioremap(), devm_ioremap(), etc.] are not available.
Here let OPEN_DICE depend on HAS_IOMEM so that it won't be built
to cause below compiling error if PCI is unset:
------
ERROR: modpost: "devm_memremap" [drivers/misc/open-dice.ko] undefined!
ERROR: modpost: "devm_memunmap" [drivers/misc/open-dice.ko] undefined!
------
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Baoquan He <[email protected]>
Cc: Derek Kiernan <[email protected]>
Cc: Dragan Cvetic <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
