lkml.org 
[lkml]   [2006]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] AVR32: asm/io.h should include asm/byteorder.h

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@atmel.com>
---
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-08-23 12:59    [W:0.200 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site