return dss_generic_clk_source_names[clk_src];
}
-#if defined(CONFIG_OMAP2_DSS_DEBUGFS)
static void dss_dump_clocks(struct dss_device *dss, struct seq_file *s)
{
const char *fclk_name;
dss_runtime_put(dss);
}
-#endif
static int dss_dump_regs(struct seq_file *s, void *p)
{
return 0;
}
+static int dss_debug_dump_clocks(struct seq_file *s, void *p)
+{
+ struct dss_device *dss = s->private;
+
+ dss_dump_clocks(dss, s);
+ dispc_dump_clocks(dss->dispc, s);
+#ifdef CONFIG_OMAP2_DSS_DSI
+ dsi_dump_clocks(s);
+#endif
+ return 0;
+}
+
static int dss_get_channel_index(enum omap_channel channel)
{
switch (channel) {
/* DEBUGFS */
#if defined(CONFIG_OMAP2_DSS_DEBUGFS)
-static int dss_debug_dump_clocks(struct seq_file *s, void *p)
-{
- struct dss_device *dss = s->private;
-
- dss_dump_clocks(dss, s);
- dispc_dump_clocks(dss->dispc, s);
-#ifdef CONFIG_OMAP2_DSS_DSI
- dsi_dump_clocks(s);
-#endif
- return 0;
-}
-
static int dss_initialize_debugfs(struct dss_device *dss)
{
struct dentry *dir;