omap2+: wdt: trivial sparse fixes
authorNishanth Menon <nm@ti.com>
Fri, 7 Jan 2011 03:49:29 +0000 (19:49 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 7 Jan 2011 03:58:28 +0000 (19:58 -0800)
commita9b365bdc328bd66e97087d0dba0b9a3d9eb1ac6
tree5983a58771d95e0e916a3ee9a93f756b947d9f52
parent2393608aede2380afc3fa8815197363f01f328ad
omap2+: wdt: trivial sparse fixes

omap2_wd_timer_disable is declared in wdtimer.h and used by hwmod
function pointers for usage, the header inclusion is necessary
to ensure that the prototype and function remains consistent.
omap_wdt_latency is passed as a pointer and does not need global scope

Fixes sparse warnings:
arch/arm/mach-omap2/devices.c:981:31: warning: symbol 'omap_wdt_latency' was not declared. Should it be static?
arch/arm/mach-omap2/wd_timer.c:27:5: warning: symbol 'omap2_wd_timer_disable' was not declared. Should it be static?

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/wd_timer.c