]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/lpfc/lpfc_compat.h
Merge branch 'master' into upstream
[linux-2.6-omap-h63xx.git] / drivers / scsi / lpfc / lpfc_compat.h
index 275ba34b3c9d5c2d80376248a249d921a6e93377..a11f1ae7b98e5674cb666f97dbdaa32d86658e0e 100644 (file)
@@ -30,8 +30,9 @@ memcpy_toio() and memcpy_fromio() can be used.
 However on a big-endian host, copy 4 bytes at a time,
 using writel() and readl().
  *******************************************************************/
+#include <asm/byteorder.h>
 
-#if __BIG_ENDIAN
+#ifdef __BIG_ENDIAN
 
 static inline void
 lpfc_memcpy_to_slim(void __iomem *dest, void *src, unsigned int bytes)