diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-01 00:47:37 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:37 -0400 |
commit | 592b8785b966ef2841e34a7691026d3aec1ce382 (patch) | |
tree | ce2a3e5da7acc5f94c09873f1dc793c1230b304c /arch/blackfin/kernel/setup.c | |
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>
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) | |||
892 | { | 892 | { |
893 | u32 mmr; | 893 | u32 mmr; |
894 | unsigned long sclk, cclk; | 894 | unsigned long sclk, cclk; |
895 | #ifdef CONFIG_BF60x | ||
895 | struct clk *clk; | 896 | struct clk *clk; |
897 | #endif | ||
896 | 898 | ||
897 | native_machine_early_platform_add_devices(); | 899 | native_machine_early_platform_add_devices(); |
898 | 900 | ||