diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2024-04-03 14:28:51 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2024-05-08 17:43:22 +0200 |
commit | 40d4388722fcc65e0493cfc90bab0605b532dffa (patch) | |
tree | 9b4b770e2b9c6cc2ec8d289f5a54815f7a87d07a /arch/m68k/kernel | |
parent | bd622532f7b35805d6afde38639b0d631fda818b (diff) |
m68k: Let GENERIC_IOMAP depend on HAS_IOPORT
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. With that choosing dynamically between I/O port and MMIO
access via GNERIC_IOMAP will not work. So only select GENERIC_IOMAP when
HAS_IOPORT is selected.
Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20240403122851.38808-2-schnelle@linux.ibm.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel')
0 files changed, 0 insertions, 0 deletions