Skip to content

Commit 34705a5

Browse files
martinezjavierardbiesheuvel
authored andcommitted
efi: sysfb_efi: remove unnecessary <asm/efi.h> include
Nothing defined in the header is used by drivers/firmware/efi/sysfb_efi.c but also, including it can lead to build errors when built on arches that don't have an asm/efi.h header file. This can happen for example if a driver that is built when COMPILE_TEST is enabled selects the SYSFB symbol, e.g. on powerpc with allyesconfig: drivers/firmware/efi/sysfb_efi.c:29:10: fatal error: asm/efi.h: No such file or directory 29 | #include <asm/efi.h> | ^~~~~~~~~~~ Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent f2906aa commit 34705a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/firmware/efi/sysfb_efi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include <linux/sysfb.h>
2727
#include <video/vga.h>
2828

29-
#include <asm/efi.h>
30-
3129
enum {
3230
OVERRIDE_NONE = 0x0,
3331
OVERRIDE_BASE = 0x1,

0 commit comments

Comments
 (0)