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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux