diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-25 17:54:50 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-01-25 17:54:50 +0200 |
commit | ce6f15501c7f93ec887e9b2ef764ed4adee75a4c (patch) | |
tree | d1142ac63621a2e2d56da688f7b95746e30360d6 /ubi-utils/old-tools/src/pfi2bin.c | |
parent | 22c86621f29f4ef7166fa16c9c0b1fd6aff2f887 (diff) |
ubi-utils: use mtd_swab.h
Do not relay on asm/byteorder and use mtd_swab.h instead
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/old-tools/src/pfi2bin.c')
-rw-r--r-- | ubi-utils/old-tools/src/pfi2bin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/old-tools/src/pfi2bin.c b/ubi-utils/old-tools/src/pfi2bin.c index fc16760..3300df2 100644 --- a/ubi-utils/old-tools/src/pfi2bin.c +++ b/ubi-utils/old-tools/src/pfi2bin.c @@ -494,7 +494,7 @@ init_vol_tab(struct ubi_vtbl_record **vol_tab, size_t *vol_tab_size) for (i = 0; i < UBI_MAX_VOLUMES; i++) { crc = clc_crc32(crc32_table, UBI_CRC32_INIT, &(res[i]), UBI_VTBL_RECORD_SIZE_CRC); - res[i].crc = __cpu_to_be32(crc); + res[i].crc = cpu_to_be32(crc); } *vol_tab = res; |