From 31d5d4e056622ae655b8f37f09d643d2a4affbcb Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Mon, 9 Dec 2013 12:56:27 +0800 Subject: [PATCH] blackfin: fixing warning by including proper headers Signed-off-by: Sonic Zhang --- arch/blackfin/lib/board.c | 1 + arch/blackfin/lib/clocks.c | 5 ++++- board/bf609-ezkit/bf609-ezkit.c | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 17d1f468dd..392d72d232 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/arch/blackfin/lib/clocks.c b/arch/blackfin/lib/clocks.c index 97795e11ac..7ed56a7274 100644 --- a/arch/blackfin/lib/clocks.c +++ b/arch/blackfin/lib/clocks.c @@ -36,7 +36,10 @@ u_long get_vco(void) u_long get_cclk(void) { static u_long cached_cclk_pll_div, cached_cclk; - u_long div, csel, ssel; + u_long div, csel; +#ifndef CGU_DIV + u_long ssel; +#endif if (pll_is_bypassed()) return CONFIG_CLKIN_HZ; diff --git a/board/bf609-ezkit/bf609-ezkit.c b/board/bf609-ezkit/bf609-ezkit.c index 0388226db4..cfc64fe51d 100644 --- a/board/bf609-ezkit/bf609-ezkit.c +++ b/board/bf609-ezkit/bf609-ezkit.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include "soft_switch.h" -- 2.25.1