diff options
author | Gabe Black | 2012-10-20 12:33:13 +0000 |
---|---|---|
committer | Simon Glass | 2012-11-30 13:44:05 -0800 |
commit | 687c108b10e66ed45fb9543d1111c3d10501a65c (patch) | |
tree | 456fa5b5dd5af93453ca6a3229896ac3bc5a6e6c /arch/x86 | |
parent | 452b80ef8c09c97776dbb5254e0d358d2d91ebc8 (diff) |
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/x86')
-rw-r--r-- | arch/x86/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index b12bdd8e2b6..2214958d6b8 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__ |