diff options
author | Koen Kooi <koen@openembedded.org> | 2007-09-04 12:07:11 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-09-04 12:07:11 +0000 |
commit | 1c24210e3f0b3f6a5a5783ed597252d453e6bd64 (patch) | |
tree | 92a51cdf31cca39b866e3f818a799fa4fd6b570e /packages/linux/linux-2.6.18/avr32-dont-include-asm-delay-h.patch | |
parent | adc0e34177df635be3bec485a184e5573f13383e (diff) | |
parent | b144d7d083863cb10a7d9219ddcede338f6e839a (diff) |
propagate from branch 'org.openembedded.dev' (head 3fed235384e32b1c9ba26c86ff39b2ffb928fbed)
to branch 'org.openembedded.dev.avr32' (head 50c56d6b5b2d15f6bc9c32b4f9907bc0d1c3564b)
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.patch | 47 |
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 + |