aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/esp32_uart.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-10-09 21:18:38 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-17 08:17:02 +0000
commit8a736ddfc861b2a217c935c2f461a8004add8247 (patch)
tree30595e81e0ddde83f7d73d26cfd35d6fdf9f5320 /drivers/tty/serial/esp32_uart.c
parentvgacon: rework Kconfig dependencies (diff)
downloadkernel-8a736ddfc861b2a217c935c2f461a8004add8247.tar.gz
kernel-8a736ddfc861b2a217c935c2f461a8004add8247.zip
vgacon: rework screen_info #ifdef checks
On non-x86 architectures, the screen_info variable is generally only used for the VGA console where supported, and in some cases the EFI framebuffer or vga16fb. Now that we have a definite list of which architectures actually use it for what, use consistent #ifdef checks so the global variable is only defined when it is actually used on those architectures. Loongarch and riscv have no support for vgacon or vga16fb, but they support EFI firmware, so only that needs to be checked, and the initialization can be removed because that is handled by EFI. IA64 has both vgacon and EFI, though EFI apparently never uses a framebuffer here. Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Khalid Aziz <[email protected]> Acked-by: Helge Deller <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/esp32_uart.c')
0 files changed, 0 insertions, 0 deletions