[ARM] 4070/1: arch/arm/kernel: fix warnings from missing includes
authorBen Dooks <ben-linux@fluff.org>
Sun, 24 Dec 2006 00:36:35 +0000 (01:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Jan 2007 12:37:35 +0000 (12:37 +0000)
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 <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/time.c
arch/arm/kernel/traps.c

index 6ff5e3ff6cb57a781a672b631596f924c75f3ee4..174cd4900bf937da2c566f09d2ba61ca28fe6cf3 100644 (file)
@@ -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>
index 042a12982e980c43bb0520e289477df525a50fc2..908915675edcb3f66520c9a3765441d388ef29c0 100644 (file)
@@ -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"