]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: 32k counter: resolve sparse warnings
authorPaul Walmsley <paul@pwsan.com>
Mon, 10 Dec 2012 18:48:44 +0000 (11:48 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 28 Dec 2012 09:09:01 +0000 (02:09 -0700)
commitacede9c3b4489f1b24e1a8364cc12a7681caafe6
treec19eeea5c3ea529689871f96f87e953dc82885a8
parenta2e69c3c0f994da1cd5fbfdb8a9cfdb38b9f1ed5
ARM: OMAP: 32k counter: resolve sparse warnings

Commit a831c10ee6fe07c28f12f83b224cdf7e367dca4f ("ARM: OMAP: Make OMAP
clocksource source selection using kernel param") results in a new warning
from sparse:

arch/arm/plat-omap/counter_32k.c:86:12: warning: symbol 'omap_init_clocksource_32k' was not declared. Should it be static?

This second version fixes this warning by including <plat/counter-32k.h>,
at Tony's request.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/counter_32k.c