diff options
author | Qixiang.Xu <geesun@gmail.com> | 2016-11-17 11:58:18 +0800 |
---|---|---|
committer | Qixiang.Xu <geesun@gmail.com> | 2016-12-01 22:43:21 +0800 |
commit | 80d4d7483fcfdefa0f62e66f9cc7fc18b59c24bb (patch) | |
tree | 059fc32d88b8978afa1ea78c479b0a6b5f1be419 /drivers/arm/ccn/ccn.c | |
parent | bc8f9b84349ea2d262481d4cdfdbe4a3f1d69959 (diff) |
emmc/sd: for C99 compliance, changed the unsigned char/short bitfield to unsigned int bitfields
C99 restricts bitfields type is signed and unsigned integer or _Bool.
See section 6.7.2.1 Structure and union specifiers.
"A bit-field shall have a type that is a qualified or unqualified version
of _Bool, signed int, unsigned int, or some other implementation-defined type."
Since the compiler packs bitfields anyways, actual data layout in the structure is unaffected.
Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions