[lkml]   [2009]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] clockevents.c: fix symbol was not declared noise
Include "tick-internal.h" in order to pick up the extern function
prototype for clockevents_shutdown(). This quiets the following
spares build noise:

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

Signed-off-by: H Hartley Sweeten <>


diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 620b58a..c30ba1f 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -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);

 \ /
  Last update: 2009-10-17 00:21    [W:0.116 / U:5.060 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site