From 2871754a78e36c5e547869509d8c4bfc45b8da0c Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Thu, 19 Aug 2010 15:32:49 +0900 Subject: [PATCH] s5pc2xx: clock: fix the build error Signed-off-by: Minkyu Kang --- arch/arm/cpu/armv7/s5pc2xx/clock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/s5pc2xx/clock.c b/arch/arm/cpu/armv7/s5pc2xx/clock.c index dd30030..7c19c20 100644 --- a/arch/arm/cpu/armv7/s5pc2xx/clock.c +++ b/arch/arm/cpu/armv7/s5pc2xx/clock.c @@ -30,7 +30,7 @@ #define CONFIG_SYS_CLK_FREQ_C210 24000000 #endif -unsigned long (*get_uclk)(void); +unsigned long (*get_uclk)(int dev_index); unsigned long (*get_pclk)(void); unsigned long (*get_arm_clk)(void); unsigned long (*get_pll_clk)(int); @@ -131,7 +131,6 @@ static unsigned long s5pc210_get_uclk(int dev_index) { struct s5pc210_clock *clk = (struct s5pc210_clock *)samsung_get_base_clock(); - unsigned long div; unsigned long uclk, sclk; unsigned int uart_sel; unsigned int uart_ratio; -- 2.7.4