From: Mike Frysinger Date: Tue, 1 May 2012 04:47:37 +0000 (-0400) Subject: Blackfin: fix unused clk var warning X-Git-Tag: v5.15~22482^2~20 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=592b8785b966ef2841e34a7691026d3aec1ce382;p=mirror_ubuntu-kernels.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();