Skip to content

Commit b42ed3b

Browse files
committed
Merge tag 'efi-fixes-for-v7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
Pull EFI fix from Ard Biesheuvel: "Fix an incorrect preprocessor conditional that may result in duplicate instances of sysfb_primary_display on x86" * tag 'efi-fixes-for-v7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi: firmware: efi: Never declare sysfb_primary_display on x86
2 parents bb2ea74 + 5241c2c commit b42ed3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/firmware/efi/efi-init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ extern __weak const efi_config_table_type_t efi_arch_tables[];
6060
* x86 defines its own instance of sysfb_primary_display and uses
6161
* it even without EFI, everything else can get them from here.
6262
*/
63-
#if !defined(CONFIG_X86) && (defined(CONFIG_SYSFB) || defined(CONFIG_EFI_EARLYCON)) || defined(CONFIG_FIRMWARE_EDID)
63+
#if !defined(CONFIG_X86) && (defined(CONFIG_SYSFB) || defined(CONFIG_EFI_EARLYCON) || defined(CONFIG_FIRMWARE_EDID))
6464
struct sysfb_display_info sysfb_primary_display __section(".data");
6565
EXPORT_SYMBOL_GPL(sysfb_primary_display);
6666
#endif

0 commit comments

Comments
 (0)