linux-stable/arch/mips/mti-malta
Arnd Bergmann 555624c0d1 vgacon: clean up global screen_info instances
To prepare for completely separating the VGA console screen_info from
the one used in EFI/sysfb, rename the vgacon instances and make them
local as much as possible.

ia64 and arm both have confurations with vgacon and efi, but the contents
never overlaps because ia64 has no EFI framebuffer, and arm only has
vga console on legacy platforms without EFI. Renaming these is required
before the EFI screen_info can be moved into drivers/firmware.

The ia64 vga console is actually registered in two places from
setup_arch(), but one of them is wrong, so drop the one in pcdp.c and
fix the one in setup.c to use the correct conditional.

x86 has to keep them together, as the boot protocol is used to switch
between VGA text console and framebuffer through the screen_info data.

Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Khalid Aziz <khalid@gonehiking.org>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20231009211845.3136536-7-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-17 10:17:02 +02:00
..
Makefile MIPS: Remove deprecated CONFIG_MIPS_CMP 2023-04-12 15:01:09 +02:00
Platform MIPS: Remove KVM_GUEST support 2021-03-10 15:18:40 +01:00
malta-dtshim.c MIPS: Malta: fix alignment of the devicetree buffer 2021-09-02 10:18:26 +02:00
malta-init.c MIPS: Remove deprecated CONFIG_MIPS_CMP 2023-04-12 15:01:09 +02:00
malta-int.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
malta-memory.c MIPS: Remove empty prom_free_prom_memory functions 2021-01-07 17:11:33 +01:00
malta-platform.c MIPS: Remove deprecated CONFIG_MIPS_CMP 2023-04-12 15:01:09 +02:00
malta-setup.c vgacon: clean up global screen_info instances 2023-10-17 10:17:02 +02:00
malta-time.c mips: mti-malta: Fix refcount leak in malta-time.c 2022-06-21 17:04:30 +02:00