Use endian macros from kernel

This commit is contained in:
Christian kimocoder 2017-10-24 15:05:17 +02:00 committed by GitHub
parent d2300a2790
commit 5a09d2cbce

View File

@ -197,7 +197,7 @@ struct intf_hdl {
struct reg_protocol_rd { struct reg_protocol_rd {
#ifdef CONFIG_LITTLE_ENDIAN #ifdef __LITTLE_ENDIAN
/* DW1 */ /* DW1 */
u32 NumOfTrans:4; u32 NumOfTrans:4;
@ -255,7 +255,7 @@ struct reg_protocol_rd {
struct reg_protocol_wt { struct reg_protocol_wt {
#ifdef CONFIG_LITTLE_ENDIAN #ifdef __LITTLE_ENDIAN
/* DW1 */ /* DW1 */
u32 NumOfTrans:4; u32 NumOfTrans:4;