projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676eec0
)
OMAP: DSS2: Fix compile warning
author
Vaibhav Hiremath
<hvaibhav@ti.com>
Mon, 4 Jan 2010 14:34:14 +0000
(15:34 +0100)
committer
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Mon, 11 Jan 2010 12:45:14 +0000
(14:45 +0200)
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/core.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/core.c
b/drivers/video/omap2/dss/core.c
index
dbb0ce2
..
82918ee
100644
(file)
--- a/
drivers/video/omap2/dss/core.c
+++ b/
drivers/video/omap2/dss/core.c
@@
-124,6
+124,7
@@
static void restore_all_ctx(void)
dss_clk_disable_all_no_ctx();
}
+#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT)
/* CLOCKS */
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);
}
}
+#endif /* defined(CONFIG_DEBUG_FS) && defined(CONFIG_OMAP2_DSS_DEBUG_SUPPORT) */
static int dss_get_clock(struct clk **clock, const char *clk_name)
{