From: Lothar Waßmann Date: Thu, 11 Feb 2016 12:02:28 +0000 (+0100) Subject: karo: tx28: fix prototype of video_hw_init() X-Git-Tag: KARO-TX6-2016-03-10~1^2~1 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=74999ac6506460c72d982cff261575729c4f725a karo: tx28: fix prototype of video_hw_init() --- diff --git a/board/karo/tx28/tx28.c b/board/karo/tx28/tx28.c index c5c4788a58..25d61c2abc 100644 --- a/board/karo/tx28/tx28.c +++ b/board/karo/tx28/tx28.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -625,8 +626,6 @@ static const struct gpio stk5_lcd_gpios[] = { { TX28_LCD_BACKLIGHT_GPIO, GPIOFLAG_OUTPUT_INIT_HIGH, "LCD BACKLIGHT", }, }; -extern void video_hw_init(void *lcdbase); - void lcd_ctrl_init(void *lcdbase) { int color_depth = 24; @@ -810,7 +809,7 @@ void lcd_ctrl_init(void *lcdbase) setenv("videomode", vmode); debug("Initializing LCD controller\n"); - video_hw_init(lcdbase); + video_hw_init(); setenv("videomode", NULL); } else { debug("Skipping initialization of LCD controller\n");