OMAP: DSS2: Fix compile warning

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>

authored by Vaibhav Hiremath and committed by Tomi Valkeinen 5c18df85 676eec0d

+2
+2
drivers/video/omap2/dss/core.c
··· 124 dss_clk_disable_all_no_ctx(); 125 } 126 127 /* CLOCKS */ 128 static void core_dump_clocks(struct seq_file *s) 129 { ··· 150 clocks[i]->usecount); 151 } 152 } 153 154 static int dss_get_clock(struct clk **clock, const char *clk_name) 155 {
··· 124 dss_clk_disable_all_no_ctx(); 125 } 126 127 + #if defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) 128 /* CLOCKS */ 129 static void core_dump_clocks(struct seq_file *s) 130 { ··· 149 clocks[i]->usecount); 150 } 151 } 152 + #endif /* defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) */ 153 154 static int dss_get_clock(struct clk **clock, const char *clk_name) 155 {