summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-09-14 07:43:03 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-14 07:43:03 +0000
commit2019b37bac10cff32469452eb3061e6e8e8aaad4 (patch)
tree79aa76f03f001988977386a9c13e59cebfe7c57b /packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch
parent7a5c873a58cdc4130eb4a14c5af0960f8ec6d81a (diff)
parenta50f3c05fc84d7d914e6a8287c82581462302bbe (diff)
propagate from branch 'org.openembedded.dev' (head bbdff51149f19a443ea4c897e2b4eb81eec6283a)
to branch 'org.openembedded.dev.avr32' (head ef59785d9aa6d25f6cf33266a65b61426e620f71)
Diffstat (limited to 'packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch')
-rw-r--r--packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch b/packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch
new file mode 100644
index 0000000000..b9c5f4d8cf
--- /dev/null
+++ b/packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch
@@ -0,0 +1,47 @@
+From 53678aca529d43e8fd0443c0c5f7f0807d5fd850 Mon Sep 17 00:00:00 2001
+From: Haavard Skinnemoen <hskinnemoen@atmel.com>
+Date: Wed, 10 Jan 2007 19:18:06 +0100
+Subject: [PATCH] [AVR32] Don't include asm/delay.h
+
+Remove a couple of asm/delay.h inclusions and replace with
+linux/delay.h where necessary.
+
+Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
+---
+ arch/avr32/kernel/avr32_ksyms.c | 2 +-
+ arch/avr32/lib/delay.c | 1 -
+ 2 files changed, 1 insertions(+), 2 deletions(-)
+
+diff --git a/arch/avr32/kernel/avr32_ksyms.c b/arch/avr32/kernel/avr32_ksyms.c
+index 372e3f8..7c4c761 100644
+--- a/arch/avr32/kernel/avr32_ksyms.c
++++ b/arch/avr32/kernel/avr32_ksyms.c
+@@ -7,12 +7,12 @@
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
++#include <linux/delay.h>
+ #include <linux/io.h>
+ #include <linux/module.h>
+
+ #include <asm/checksum.h>
+ #include <asm/uaccess.h>
+-#include <asm/delay.h>
+
+ /*
+ * GCC functions
+diff --git a/arch/avr32/lib/delay.c b/arch/avr32/lib/delay.c
+index 462c830..76a8474 100644
+--- a/arch/avr32/lib/delay.c
++++ b/arch/avr32/lib/delay.c
+@@ -14,7 +14,6 @@
+ #include <linux/module.h>
+ #include <linux/types.h>
+
+-#include <asm/delay.h>
+ #include <asm/processor.h>
+ #include <asm/sysreg.h>
+
+--
+1.4.4.1
+