From 1959de65bfa67c4691ffee3fb72227365c20bac8 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 8 Dec 2009 10:28:02 +0900 Subject: [PATCH] s5pc110: lcd: kill warnings Signed-off-by: Minkyu Kang --- common/lcd.c | 2 -- include/stdio_dev.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 191cf5b..6596813 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -321,8 +321,6 @@ static void test_pattern (void) /************************************************************************/ int drv_lcd_init_resume (void) { - int rc; - lcd_base = (void *)(gd->fb_base); lcd_line_length = (panel_info.vl_col * NBITS (panel_info.vl_bpix)) / 8; diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 3e0ef69..9e564bb 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -104,6 +104,7 @@ struct stdio_dev* stdio_clone(struct stdio_dev *dev); int drv_arm_dcc_init(void); #endif #ifdef CONFIG_LCD +int drv_lcd_init_resume(void); int drv_lcd_init (void); #endif #ifdef CONFIG_VFD -- 2.7.4