diff options
author | Baoquan He <[email protected]> | 2023-07-07 21:58:47 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-04 15:39:42 +0200 |
commit | aefc8b57af7787c80686e49a5841e9289cb11f53 (patch) | |
tree | 23c59c50e32b862e62ff2ef322a1e12dd4e491d4 /drivers/cdx/controller/cdx_rpmsg.c | |
parent | 806eb9e4160d5fc633c20db660586e1aaa121e1c (diff) |
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_rpmsg.c')
0 files changed, 0 insertions, 0 deletions