mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
Use endian macros from kernel
This commit is contained in:
parent
d2300a2790
commit
5a09d2cbce
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user