summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-10-20 12:33:13 +0000
committerSimon Glass <sjg@chromium.org>2012-11-30 13:44:05 -0800
commit687c108b10e66ed45fb9543d1111c3d10501a65c (patch)
tree456fa5b5dd5af93453ca6a3229896ac3bc5a6e6c /arch
parent452b80ef8c09c97776dbb5254e0d358d2d91ebc8 (diff)
downloadu-boot-imx-687c108b10e66ed45fb9543d1111c3d10501a65c.zip
u-boot-imx-687c108b10e66ed45fb9543d1111c3d10501a65c.tar.gz
u-boot-imx-687c108b10e66ed45fb9543d1111c3d10501a65c.tar.bz2
x86: Include types.h explicitly in the i386 version of io.h
The i386 version of io.h depends on the phys_addr_t type which is defined in types.h. It wasn't including that explicitly, and was working presumably because the other files including it had already included types.h themselves directly or indirectly. This change fixes that. Signed-off-by: Gabe Black <gabeblack@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index b12bdd8..2214958 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -36,6 +36,8 @@
#define IO_SPACE_LIMIT 0xffff
+#include <asm/types.h>
+
#ifdef __KERNEL__