diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-01 00:47:37 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 14:54:37 +0800 |
commit | 592b8785b966ef2841e34a7691026d3aec1ce382 (patch) | |
tree | ce2a3e5da7acc5f94c09873f1dc793c1230b304c | |
parent | 8db08136dc64ac52e11d362f4f1708001f2dedd9 (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>
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index c113cfa459a..ed041541ea1 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(); |