mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-23 05:44:40 +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