diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-01 04:47:37 (GMT) |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 06:54:37 (GMT) |
commit | 592b8785b966ef2841e34a7691026d3aec1ce382 (patch) | |
tree | ce2a3e5da7acc5f94c09873f1dc793c1230b304c /arch/blackfin/kernel/setup.c | |
parent | 8db08136dc64ac52e11d362f4f1708001f2dedd9 (diff) | |
download | linux-592b8785b966ef2841e34a7691026d3aec1ce382.tar.xz |
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/kernel/setup.c')
-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 c113cfa..ed04154 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(); |