summaryrefslogtreecommitdiff
path: root/include/fat.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-12-07 23:55:12 +0000
committerwdenk <wdenk>2003-12-07 23:55:12 +0000
commit9fd5e31fe0245c44a11d35a8603bb6b25c97b5c8 (patch)
treebbb665de89d40b6584076a60f138616fcf373c70 /include/fat.h
parent3bbc899fc0bba51db83e4b3960f32c3ad6ba813c (diff)
* Patch by Pierre Aubert, 24 Nov 2003:
- add a return value for the fpga command - add ide_preinit() function called in ide_init if CONFIG_IDE_PREINIT is defined. If ide_preinit fails, ide_init is aborted. - fix an endianess problem in fat.h
Diffstat (limited to 'include/fat.h')
-rw-r--r--include/fat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fat.h b/include/fat.h
index 6f0f40fa61e..3f9c5f359ed 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -89,7 +89,7 @@
#define FAT2CPU16 le16_to_cpu
#define FAT2CPU32 le32_to_cpu
#else
-#if 1
+#if __LITTLE_ENDIAN
#define FAT2CPU16(x) (x)
#define FAT2CPU32(x) (x)
#else