clockevents: Add missing include to pacify sparse
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 16 Oct 2009 22:19:01 +0000 (18:19 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 18 Nov 2009 11:31:48 +0000 (12:31 +0100)
Include "tick-internal.h" in order to pick up the extern function
prototype for clockevents_shutdown(). This quiets the following sparse
build noise:

  warning: symbol 'clockevents_shutdown' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
LKML-Reference: <BD79186B4FD85F4B8E60E381CAEE190901E24550@mi8nycmail19.Mi8.com>
Reviewed-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: johnstul@us.ibm.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/clockevents.c

index 05e8aeedcdf344088df3643eecb67015d50d8b3d..20a8920029eeedbb0a66d896af445c370c2f854b 100644 (file)
@@ -20,6 +20,8 @@
 #include <linux/sysdev.h>
 #include <linux/tick.h>
 
+#include "tick-internal.h"
+
 /* The registered clock event devices */
 static LIST_HEAD(clockevent_devices);
 static LIST_HEAD(clockevents_released);