summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-01 00:47:37 -0400
committerBob Liu <lliubbo@gmail.com>2012-05-21 14:54:37 +0800
commit592b8785b966ef2841e34a7691026d3aec1ce382 (patch)
treece2a3e5da7acc5f94c09873f1dc793c1230b304c /arch/blackfin
parent8db08136dc64ac52e11d362f4f1708001f2dedd9 (diff)
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 <vapier@gentoo.org> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
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();