]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Include types.h explicitly in the i386 version of io.h
authorGabe Black <gabeblack@chromium.org>
Sat, 20 Oct 2012 12:33:13 +0000 (12:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Nov 2012 21:44:05 +0000 (13:44 -0800)
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>
arch/x86/include/asm/io.h

index b12bdd8e2b638edb30af3db7d9c9f44e15fac5e9..2214958d6b8bf40db1d7db2fd7d8a9d86fe681fd 100644 (file)
@@ -36,6 +36,8 @@
 
 #define IO_SPACE_LIMIT 0xffff
 
+#include <asm/types.h>
+
 
 #ifdef __KERNEL__