From 592b8785b966ef2841e34a7691026d3aec1ce382 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 1 May 2012 00:47:37 -0400 Subject: [PATCH] Blackfin: fix unused clk var warning This is only used on BF60x code (so this patch should get squashed into the original one that added it). Signed-off-by: Mike Frysinger Signed-off-by: Bob Liu --- arch/blackfin/kernel/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index c113cfa459a7..ed041541ea19 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -892,7 +892,9 @@ void __init setup_arch(char **cmdline_p) { u32 mmr; unsigned long sclk, cclk; +#ifdef CONFIG_BF60x struct clk *clk; +#endif native_machine_early_platform_add_devices(); -- 2.30.2