diff options
| author | Sonic Zhang <sonic.zhang@analog.com> | 2013-12-09 12:56:27 +0800 | 
|---|---|---|
| committer | Sonic Zhang <sonic.zhang@analog.com> | 2013-12-16 11:38:33 +0800 | 
| commit | 31d5d4e056622ae655b8f37f09d643d2a4affbcb (patch) | |
| tree | a9df75ccfc75da1665b141411585dcc203f7e4b1 /arch/blackfin/lib/clocks.c | |
| parent | 6e6b221c4375399625a956ecb8814d176871ef19 (diff) | |
| download | olio-uboot-2014.01-31d5d4e056622ae655b8f37f09d643d2a4affbcb.tar.xz olio-uboot-2014.01-31d5d4e056622ae655b8f37f09d643d2a4affbcb.zip | |
blackfin: fixing warning by including proper headers
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin/lib/clocks.c')
| -rw-r--r-- | arch/blackfin/lib/clocks.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/arch/blackfin/lib/clocks.c b/arch/blackfin/lib/clocks.c index 97795e11a..7ed56a727 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; |