]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
efi: export sysfb_primary_display for EDID
authorArnd Bergmann <arnd@arndb.de>
Fri, 13 Feb 2026 16:51:51 +0000 (17:51 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 17 Feb 2026 11:25:09 +0000 (12:25 +0100)
commite65ca16463112677923c61f58cc09e121be1bbce
tree46e5f161089d570fc7acb3bd3a0ce312b09a83c1
parent9702969978695d9a699a1f34771580cdbb153b33
efi: export sysfb_primary_display for EDID

The sysfb_primary_display structure is now part of efi-init.c but
conditionally defined. One of the users is missing in the condition:

aarch64-linux-ld: drivers/video/fbdev/core/fbmon.o: in function `fb_firmware_edid':
fbmon.c:(.text.fb_firmware_edid+0x3c): undefined reference to `sysfb_primary_display'

Export it whenever CONFIG_FIRMWARE_EDID is set, so the fbdev core
code can use it.

Fixes: 4fcae6358871 ("sysfb: Move edid_info into sysfb_primary_display")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602111543.Do4nkY5l-lkp@intel.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/efi-init.c