summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2016-08-29 10:46:44 +0200
committerTom Rini <trini@konsulko.com>2016-09-23 09:02:02 -0400
commit7f101be314da1f6f612a1b84822f791d6569946b (patch)
treeef301e411c3f170f527db801912bdc710974b379 /include
parent2a0b7a971aac682112cf676c6583196faafcb2b0 (diff)
downloadu-boot-imx-7f101be314da1f6f612a1b84822f791d6569946b.zip
u-boot-imx-7f101be314da1f6f612a1b84822f791d6569946b.tar.gz
u-boot-imx-7f101be314da1f6f612a1b84822f791d6569946b.tar.bz2
ext4: use kernel names for byte swaps
Instead of __{be,le}{16,32}_to_cpu use {be,le}{16,32}_to_cpu. Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'include')
-rw-r--r--include/ext_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ext_common.h b/include/ext_common.h
index c12e526..3220091 100644
--- a/include/ext_common.h
+++ b/include/ext_common.h
@@ -49,10 +49,10 @@
#define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE(data))
/* Log2 size of ext2 block in bytes. */
-#define LOG2_BLOCK_SIZE(data) (__le32_to_cpu \
+#define LOG2_BLOCK_SIZE(data) (le32_to_cpu \
(data->sblock.log2_block_size) \
+ EXT2_MIN_BLOCK_LOG_SIZE)
-#define INODE_SIZE_FILESYSTEM(data) (__le32_to_cpu \
+#define INODE_SIZE_FILESYSTEM(data) (le32_to_cpu \
(data->sblock.inode_size))
#define EXT2_FT_DIR 2