From: Gabe Black Date: Sat, 20 Oct 2012 12:33:13 +0000 (+0000) Subject: x86: Include types.h explicitly in the i386 version of io.h X-Git-Tag: v2013.01-rc2~99^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=687c108b10e66ed45fb9543d1111c3d10501a65c;p=u-boot 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 Signed-off-by: Simon Glass --- diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index b12bdd8e2b..2214958d6b 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 + #ifdef __KERNEL__