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>
1 parent bc8f9b8 commit 80d4d7483fcfdefa0f62e66f9cc7fc18b59c24bb
@Qixiang.Xu Qixiang.Xu authored on 16 Nov 2016
Showing 1 changed file
View
include/drivers/emmc.h