OMAPDSS: DISPC: fix sparse warning
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 7 Nov 2012 06:52:44 +0000 (08:52 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 7 Nov 2012 06:57:25 +0000 (08:57 +0200)
Fix sparse warning:

drivers/video/omap2/dss/dispc.c:3320:6: warning: symbol
'dispc_dump_irqs' was not declared. Should it be static?

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
drivers/video/omap2/dss/dispc.c

index 78f78f93a1c74ee58ec09695baea0bb2e673c3c0..bab9d6b95c32e30beb0030f77679895391a828b2 100644 (file)
@@ -3317,7 +3317,7 @@ void dispc_dump_clocks(struct seq_file *s)
 }
 
 #ifdef CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS
-void dispc_dump_irqs(struct seq_file *s)
+static void dispc_dump_irqs(struct seq_file *s)
 {
        unsigned long flags;
        struct dispc_irq_stats stats;