diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-01 06:47:37 +0200 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 08:54:37 +0200 |
commit | 592b8785b966ef2841e34a7691026d3aec1ce382 (patch) | |
tree | ce2a3e5da7acc5f94c09873f1dc793c1230b304c /arch/blackfin/kernel/setup.c | |
parent | blackfin: SMP: pda: "next" field of blackfin_pda only used in SMP kernel (diff) | |
download | linux-592b8785b966ef2841e34a7691026d3aec1ce382.tar.xz linux-592b8785b966ef2841e34a7691026d3aec1ce382.zip |
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 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(); |