42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From 7456ca98a1bec5feda73788d6c8cffac2143f5ff Mon Sep 17 00:00:00 2001
|
|
From: David Howells <dhowells@redhat.com>
|
|
Date: Fri, 23 Mar 2012 15:37:34 +0000
|
|
Subject: [PATCH 1/2] ARM: Fix missing linux/types.h #inclusion in
|
|
asm/hardware/iop3xx.h
|
|
|
|
commit 15e9b9b9ed268fa91e52c44d621f3d0296162d15 upstream.
|
|
|
|
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 file changed, 3 insertions(+)
|
|
|
|
diff --git a/arch/arm/include/asm/hardware/iop3xx.h b/arch/arm/include/asm/hardware/iop3xx.h
|
|
index 077c323..2ff2c75 100644
|
|
--- 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);
|
|
--
|
|
1.7.9.5
|
|
|