Skip to content

Commit

Permalink
OMAPDSS: DISPC: fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Nov 7, 2012
1 parent 14840b9 commit 5b30b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5b30b7f

Please sign in to comment.