clk: Fix build warnings
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 1 Jul 2014 06:26:34 +0000 (11:56 +0530)
committerMike Turquette <mturquette@linaro.org>
Wed, 2 Jul 2014 03:20:36 +0000 (20:20 -0700)
commit6b44c854b0f75d8dd1ea7f1d37621cfd82fbd2a9
treedcc07cb0f45d73b85a519b093bd7d6b0d7e3bf09
parentda788acb28386aa896224e784954bb73c99ff26c
clk: Fix build warnings

‘all_lists’ and ‘orphan_list’ is accessed only when DEBUG_FS is defined.
Thus, make their compilation conditional to fix the below warnings introduced
by commit 27b8d5f723 ("clk: flatten clk tree in debugfs"):
drivers/clk/clk.c:40:27: warning: ‘all_lists’ defined but not used [-Wunused-variable]
drivers/clk/clk.c:46:27: warning: ‘orphan_list’ defined but not used [-Wunused-variable]

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c