From 74999ac6506460c72d982cff261575729c4f725a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 11 Feb 2016 13:02:28 +0100 Subject: [PATCH] karo: tx28: fix prototype of video_hw_init() --- board/karo/tx28/tx28.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"); -- 2.39.2