Commit 5c18df85 authored by Vaibhav Hiremath's avatar Vaibhav Hiremath Committed by Tomi Valkeinen

OMAP: DSS2: Fix compile warning

Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Acked-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
parent 676eec0d
...@@ -124,6 +124,7 @@ static void restore_all_ctx(void) ...@@ -124,6 +124,7 @@ static void restore_all_ctx(void)
dss_clk_disable_all_no_ctx(); dss_clk_disable_all_no_ctx();
} }
#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT)
/* CLOCKS */ /* CLOCKS */
static void core_dump_clocks(struct seq_file *s) static void core_dump_clocks(struct seq_file *s)
{ {
...@@ -149,6 +150,7 @@ static void core_dump_clocks(struct seq_file *s) ...@@ -149,6 +150,7 @@ static void core_dump_clocks(struct seq_file *s)
clocks[i]->usecount); clocks[i]->usecount);
} }
} }
#endif /* defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) */
static int dss_get_clock(struct clk **clock, const char *clk_name) static int dss_get_clock(struct clk **clock, const char *clk_name)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment