Commit:     9ca3f07b869c1fbbdfdac3150019a3e4d2948d8e
Parent:     e2bdb176ffae3fd2c162db897a05fbad044ff9e9
Author:     Ben Dooks <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 24 01:36:35 2006 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sat Jan 6 12:37:35 2007 +0000

    [ARM] 4070/1: arch/arm/kernel: fix warnings from missing includes
    Include <asm/io.h> to fix the warning:
    arch/arm/kernel/traps.c:647:6: warning: symbol '__readwrite_bug' was not 
declared. Should it be static?
    Include <linux/mc146818rtc.h> 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 <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
 arch/arm/kernel/time.c  |    2 ++
 arch/arm/kernel/traps.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c
index 6ff5e3f..174cd49 100644
--- a/arch/arm/kernel/time.c
+++ b/arch/arm/kernel/time.c
@@ -29,6 +29,8 @@
 #include <linux/timer.h>
 #include <linux/irq.h>
+#include <linux/mc146818rtc.h>
 #include <asm/leds.h>
 #include <asm/thread_info.h>
 #include <asm/mach/time.h>
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index 042a129..9089156 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -27,6 +27,7 @@
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
 #include <asm/traps.h>
+#include <asm/io.h>
 #include "ptrace.h"
 #include "signal.h"
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to