diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-12 10:49:32 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-12 10:49:32 +0000 |
commit | 5ff6d685c6720c710584e34d9786a3dc172b0068 (patch) | |
tree | bfd7570761070b15d9091cf561d2899ebdef081e /target/linux/iop32x/patches-3.3/001-ARM-Fix-missing-linux-types.h-inclusion-in-asm-hardw.patch | |
parent | d6e36e0c43bcfc84afcc507b724e35fce4772a3d (diff) | |
download | upstream-5ff6d685c6720c710584e34d9786a3dc172b0068.tar.gz upstream-5ff6d685c6720c710584e34d9786a3dc172b0068.tar.bz2 upstream-5ff6d685c6720c710584e34d9786a3dc172b0068.zip |
iop32x: add 3.3 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31683 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/iop32x/patches-3.3/001-ARM-Fix-missing-linux-types.h-inclusion-in-asm-hardw.patch')
-rw-r--r-- | target/linux/iop32x/patches-3.3/001-ARM-Fix-missing-linux-types.h-inclusion-in-asm-hardw.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/iop32x/patches-3.3/001-ARM-Fix-missing-linux-types.h-inclusion-in-asm-hardw.patch b/target/linux/iop32x/patches-3.3/001-ARM-Fix-missing-linux-types.h-inclusion-in-asm-hardw.patch new file mode 100644 index 0000000000..a03eff74ca --- /dev/null +++ b/target/linux/iop32x/patches-3.3/001-ARM-Fix-missing-linux-types.h-inclusion-in-asm-hardw.patch @@ -0,0 +1,33 @@ +From 15e9b9b9ed268fa91e52c44d621f3d0296162d15 Mon Sep 17 00:00:00 2001 +From: David Howells <dhowells@redhat.com> +Date: Fri, 23 Mar 2012 15:37:34 +0000 +Subject: [PATCH] ARM: Fix missing linux/types.h #inclusion in asm/hardware/iop3xx.h + +arch/arm/include/asm/hardware/iop3xx.h needs to include linux/types.h to avoid +the following errors: + +In file included from arch/arm/plat-iop/restart.c:10:0: +/data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h:239:1: error: unknown type name 'u32' +/data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h: In function 'read_tmr0': +/data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h:241:2: error: unknown type name 'u32' +/data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h: At top level: +/data/fs/linux-2.6-fscache/arch/arm/include/asm/hardware/iop3xx.h:246:31: error: unknown type name 'u32' +... + +Signed-off-by: David Howells <dhowells@redhat.com> +--- + arch/arm/include/asm/hardware/iop3xx.h | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +--- a/arch/arm/include/asm/hardware/iop3xx.h ++++ b/arch/arm/include/asm/hardware/iop3xx.h +@@ -231,6 +231,9 @@ extern int iop3xx_get_init_atu(void); + + + #ifndef __ASSEMBLY__ ++ ++#include <linux/types.h> ++ + void iop3xx_map_io(void); + void iop_init_cp6_handler(void); + void iop_init_time(unsigned long tickrate); |