]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
clockevents: Add missing include to pacify sparse
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 16 Oct 2009 22:19:01 +0000 (18:19 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:00:24 +0000 (15:00 -0800)
commit 8e1a928a2ed7e8d5cad97c8e985294b4caedd168 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/time/clockevents.c

index 538589c97580b87aa239ab04a0ea27b7bb04c0fc..0d809ae02d609310b34c5f98051ae893f663c295 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);