diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2024-10-24 19:54:42 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-10-28 22:44:27 +0100 |
commit | f663c6ae36205bdaae55f679f1c5d7a3221f9d00 (patch) | |
tree | 477fca796e0a56ef3a8adefa31f8186c68128264 /drivers/tty/Kconfig | |
parent | Bluetooth: add HAS_IOPORT dependencies (diff) | |
download | linux-f663c6ae36205bdaae55f679f1c5d7a3221f9d00.tar.xz linux-f663c6ae36205bdaae55f679f1c5d7a3221f9d00.zip |
drm: handle HAS_IOPORT dependencies
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. We thus need to add HAS_IOPORT as dependency for those
drivers using them. In the bochs driver there is optional MMIO support
detected at runtime, warn if this isn't taken when HAS_IOPORT is not
defined.
There is also a direct and hard coded use in cirrus.c which according to
the comment is only necessary during resume. Let's just skip this as
for example s390 which doesn't have I/O port support also doesen't
support suspend/resume.
Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> # xe
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/tty/Kconfig')
0 files changed, 0 insertions, 0 deletions