Thread (8 messages) 8 messages, 3 authors, 2012-11-29
STALE4964d REVIEWED: 1 (0M)
Revisions (2)
  1. v2 [diff vs current]
  2. v2 current

[PATCH V2 4/4] ARM: OMAP2+: Fix sparse warnings in timer.c

From: Santosh Shilimkar <hidden>
Date: 2012-11-29 05:16:38
Also in: linux-omap

On Thursday 29 November 2012 03:35 AM, Jon Hunter wrote:
From: Vaibhav Hiremath <redacted>

Sparse generates the following warnings when compiling mach-omap2/timer.c.

   CHECK   arch/arm/mach-omap2/timer.c
   arch/arm/mach-omap2/timer.c:193:13: warning: symbol 'omap_dmtimer_init'
   was not declared. Should it be static?
   arch/arm/mach-omap2/timer.c:213:12: warning: symbol
   'omap_dm_timer_get_errata' was not declared. Should it be static?

Add static to function declaration to fix warnings.

Signed-off-by: Vaibhav Hiremath <redacted>
Signed-off-by: Jon Hunter <redacted>
---
Acked-by: Santosh Shilimkar <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help