From: Sachin Kamat Date: Tue, 1 Jul 2014 06:26:34 +0000 (+0530) Subject: clk: Fix build warnings X-Git-Tag: omap-for-v3.17/fixes-against-rc2~188^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b44c854b0f75d8dd1ea7f1d37621cfd82fbd2a9;p=pandora-kernel.git 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 Cc: Peter De Schrijver Signed-off-by: Mike Turquette --- Reading git-diff-tree failed