[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-8e1a928a2ed7e8d5cad97c8e985294b4caedd168@git.kernel.org>
Date: Wed, 18 Nov 2009 11:36:48 GMT
From: tip-bot for H Hartley Sweeten <hartleys@...ionengravers.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
akpm@...ux-foundation.org, yong.zhang0@...il.com,
hartleys@...ionengravers.com, tglx@...utronix.de,
hsweeten@...ionengravers.com
Subject: [tip:timers/core] clockevents: Add missing include to pacify sparse
Commit-ID: 8e1a928a2ed7e8d5cad97c8e985294b4caedd168
Gitweb: http://git.kernel.org/tip/8e1a928a2ed7e8d5cad97c8e985294b4caedd168
Author: H Hartley Sweeten <hartleys@...ionengravers.com>
AuthorDate: Fri, 16 Oct 2009 18:19:01 -0400
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Wed, 18 Nov 2009 12:31:48 +0100
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@...ionengravers.com>
LKML-Reference: <BD79186B4FD85F4B8E60E381CAEE190901E24550@...nycmail19.Mi8.com>
Reviewed-by: Yong Zhang <yong.zhang0@...il.com>
Cc: johnstul@...ibm.com
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
kernel/time/clockevents.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 05e8aee..20a8920 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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists