efi/x86: Mark setup_graphics static
authorArvind Sankar <nivedita@alum.mit.edu>
Thu, 30 Jan 2020 22:20:04 +0000 (17:20 -0500)
committerArd Biesheuvel <ardb@kernel.org>
Sat, 22 Feb 2020 22:37:37 +0000 (23:37 +0100)
This function is only called from efi_main in the same source file.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200130222004.1932152-1-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/boot/compressed/eboot.c

index c92fe0b75cecdf50806d5f450b83d0ab429343de..32423e83ba8f9214ecba16fd80a050a10ea9cd54 100644 (file)
@@ -315,7 +315,7 @@ free_handle:
        return status;
 }
 
-void setup_graphics(struct boot_params *boot_params)
+static void setup_graphics(struct boot_params *boot_params)
 {
        efi_guid_t graphics_proto = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID;
        struct screen_info *si;