aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/esp32_uart.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-10-09 21:18:44 +0000
committerGreg Kroah-Hartman <[email protected]>2023-10-17 08:17:02 +0000
commita07b50d80ab621f4f18d429068a43cffec26691f (patch)
tree056b50739e72fdda5be52667697e15b198080125 /drivers/tty/serial/esp32_uart.c
parentvga16fb: drop powerpc support (diff)
downloadkernel-a07b50d80ab621f4f18d429068a43cffec26691f.tar.gz
kernel-a07b50d80ab621f4f18d429068a43cffec26691f.zip
hyperv: avoid dependency on screen_info
The two hyperv framebuffer drivers (hyperv_fb or hyperv_drm_drv) access the global screen_info in order to take over from the sysfb framebuffer, which in turn could be handled by simplefb, simpledrm or efifb. Similarly, the vmbus_drv code marks the original EFI framebuffer as reserved, but this is not required if there is no sysfb. As a preparation for making screen_info itself more local to the sysfb helper code, add a compile-time conditional in all three files that relate to hyperv fb and just skip this code if there is no sysfb that needs to be unregistered. Reviewed-by: Javier Martinez Canillas <[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