path: root/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
diff options
authorRandy Dunlap <>2021-07-26 22:04:47 -0700
committerDaniel Vetter <>2021-07-27 11:52:51 +0200
commit15d27b15de965043d6f8e23bc7f34386fcd1a772 (patch)
tree868e144f22836a13a8f32aa713b7f69a46b078fc /drivers/gpu/drm/amd/powerplay/amd_powerplay.c
parent71260b9a7020751623bcda2a5377834a100dfb30 (diff)
efi: sysfb_efi: fix build when EFI is not setHEADdrm-next
When # CONFIG_EFI is not set, there are 2 definitions of sysfb_apply_efi_quirks(). The stub from sysfb.h should be used and the __init function from sysfb_efi.c should not be used. ../drivers/firmware/efi/sysfb_efi.c:337:13: error: redefinition of ‘sysfb_apply_efi_quirks’ __init void sysfb_apply_efi_quirks(struct platform_device *pd) ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/firmware/efi/sysfb_efi.c:26:0: ../include/linux/sysfb.h:65:20: note: previous definition of ‘sysfb_apply_efi_quirks’ was here static inline void sysfb_apply_efi_quirks(struct platform_device *pd) ^~~~~~~~~~~~~~~~~~~~~~ Reviewed-by: Javier Martinez Canillas <> Fixes: 8633ef82f101 ("drivers/firmware: consolidate EFI framebuffer setup for all arches") Acked-by: Ard Biesheuvel <> Signed-off-by: Randy Dunlap <> Cc: Ard Biesheuvel <> Cc: Cc: Cc: Javier Martinez Canillas <> Cc: Thomas Zimmermann <> Cc: Mark Brown <> Cc: Signed-off-by: Daniel Vetter <> Link:
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amd_powerplay.c')
0 files changed, 0 insertions, 0 deletions