Browse Source

clockevents: Add missing include to pacify sparse

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>
H Hartley Sweeten 15 years ago
parent
commit
8e1a928a2e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      kernel/time/clockevents.c

+ 2 - 0
kernel/time/clockevents.c

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