[-mm patch] AVR32: asm/io.h should include asm/byteorder.h

From: Haavard Skinnemoen
Date: Wed Aug 23 2006 - 06:53:48 EST



The {in,out}[bwl] macros use byte order conversion macros, so we
need to include asm/byteorder.h from asm/io.h.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>
---
include/asm-avr32/io.h | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6.18-rc3-mm2/include/asm-avr32/io.h
===================================================================
--- linux-2.6.18-rc3-mm2.orig/include/asm-avr32/io.h 2006-08-08 14:11:15.000000000 +0200
+++ linux-2.6.18-rc3-mm2/include/asm-avr32/io.h 2006-08-08 14:11:24.000000000 +0200
@@ -6,6 +6,7 @@
#ifdef __KERNEL__

#include <asm/addrspace.h>
+#include <asm/byteorder.h>

/* virt_to_phys will only work when address is in P1 or P2 */
static __inline__ unsigned long virt_to_phys(volatile void *address)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/