summaryrefslogtreecommitdiff
path: root/include/linux/byteorder/little_endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/byteorder/little_endian.h')
-rw-r--r--include/linux/byteorder/little_endian.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/byteorder/little_endian.h b/include/linux/byteorder/little_endian.h
index 83195fb82962..f7f8ad13adb6 100644
--- a/include/linux/byteorder/little_endian.h
+++ b/include/linux/byteorder/little_endian.h
@@ -7,6 +7,9 @@
#ifndef __LITTLE_ENDIAN_BITFIELD
#define __LITTLE_ENDIAN_BITFIELD
#endif
+#ifndef __BYTE_ORDER
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#endif
#include <linux/types.h>
#include <linux/swab.h>