ARM: OMAP2+: Fix sparse warnings in timer.c
authorVaibhav Hiremath <hvaibhav@ti.com>
Wed, 28 Nov 2012 21:56:41 +0000 (15:56 -0600)
committerJon Hunter <jon-hunter@ti.com>
Fri, 14 Dec 2012 16:14:55 +0000 (10:14 -0600)
commitbf85f205d95eb223e849914101e0db1a5a576a3c
tree3e294273a786e67322478855eead77746d45b99b
parente0c3e27ce19fcc81156ba49c91d83a676144a103
ARM: OMAP2+: Fix sparse warnings in timer.c

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 <hvaibhav@ti.com>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
arch/arm/mach-omap2/timer.c