From 9ca3f07b869c1fbbdfdac3150019a3e4d2948d8e Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Sun, 24 Dec 2006 01:36:35 +0100 Subject: [PATCH] [ARM] 4070/1: arch/arm/kernel: fix warnings from missing includes Include to fix the warning: arch/arm/kernel/traps.c:647:6: warning: symbol '__readwrite_bug' was not declared. Should it be static? Include to fix the warning: arch/arm/kernel/time.c:42:1: warning: symbol 'rtc_lock' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Russell King --- arch/arm/kernel/time.c | 2 ++ arch/arm/kernel/traps.c | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 6ff5e3ff6c..174cd4900b 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c @@ -29,6 +29,8 @@ #include #include +#include + #include #include #include diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 042a12982e..908915675e 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "ptrace.h" #include "signal.h" -- 2.39.5