]> git.sur5r.net Git - u-boot/commitdiff
avr32: asm/io.h needs asm/types.h
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 23 Jul 2008 08:52:19 +0000 (10:52 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 23 Jul 2008 08:52:19 +0000 (10:52 +0200)
map_physmem() takes a phys_addr_t as parameter. This type is defined in
asm/types.h, so we need to include that file.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
include/asm-avr32/io.h

index d030c262a584f5d92d3dc8646b2100c9ffd39a89..06e52b137f51e476bfb13ec104a89a88e1a7070b 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef __ASM_AVR32_IO_H
 #define __ASM_AVR32_IO_H
 
+#include <asm/types.h>
+
 #ifdef __KERNEL__
 
 /*