]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Remove video_init() prototype from u-boot-x86.h
authorSimon Glass <sjg@chromium.org>
Sat, 3 Nov 2012 11:41:41 +0000 (11:41 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Dec 2012 22:30:44 +0000 (14:30 -0800)
This function is not intended to be exported from the video drivers, so
remove the prototype. This fixes an error:

cfb_console.c:1793:12: error: static declaration of 'video_init' follows non-static declaration

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/u-boot-x86.h

index 11be5c35b562b79a9f4c52ad8df1cbf6c035e4fc..99062e5955356dc9cd755b7e16ea1eb5d19e093f 100644 (file)
@@ -63,7 +63,6 @@ u32 isa_map_rom(u32 bus_addr, int size);
 
 /* arch/x86/lib/... */
 int video_bios_init(void);
-int video_init(void);
 
 void   board_init_f_r_trampoline(ulong) __attribute__ ((noreturn));
 void   board_init_f_r(void) __attribute__ ((noreturn));