OMAP: DSS2: fix irq-stats compilation
Fix compilation of the CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS feature. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
This commit is contained in:
parent
6dd2e42bd8
commit
853525d778
@ -446,10 +446,12 @@ static int dss_initialize_debugfs(void)
|
|||||||
debugfs_create_file("clk", S_IRUGO, dss_debugfs_dir,
|
debugfs_create_file("clk", S_IRUGO, dss_debugfs_dir,
|
||||||
&dss_debug_dump_clocks, &dss_debug_fops);
|
&dss_debug_dump_clocks, &dss_debug_fops);
|
||||||
|
|
||||||
|
#ifdef CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS
|
||||||
debugfs_create_file("dispc_irq", S_IRUGO, dss_debugfs_dir,
|
debugfs_create_file("dispc_irq", S_IRUGO, dss_debugfs_dir,
|
||||||
&dispc_dump_irqs, &dss_debug_fops);
|
&dispc_dump_irqs, &dss_debug_fops);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_OMAP2_DSS_DSI
|
#if defined(CONFIG_OMAP2_DSS_DSI) && defined(CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS)
|
||||||
debugfs_create_file("dsi_irq", S_IRUGO, dss_debugfs_dir,
|
debugfs_create_file("dsi_irq", S_IRUGO, dss_debugfs_dir,
|
||||||
&dsi_dump_irqs, &dss_debug_fops);
|
&dsi_dump_irqs, &dss_debug_fops);
|
||||||
#endif
|
#endif
|
||||||
|
@ -2301,8 +2301,6 @@ void dispc_dump_irqs(struct seq_file *s)
|
|||||||
PIS(WAKEUP);
|
PIS(WAKEUP);
|
||||||
#undef PIS
|
#undef PIS
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
void dispc_dump_irqs(struct seq_file *s) { }
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void dispc_dump_regs(struct seq_file *s)
|
void dispc_dump_regs(struct seq_file *s)
|
||||||
|
Loading…
Reference in New Issue
Block a user