From: Mike Frysinger Date: Tue, 1 May 2012 04:47:37 +0000 (-0400) Subject: Blackfin: fix unused clk var warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=592b8785b966ef2841e34a7691026d3aec1ce382;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- 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();