mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove CONFIG_LITTLE_ENDIAN
Replace with kernel-devined __LITTLE_ENDIAN. This also applies to CONFIG_BIG_ENDIAN. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
a8e1fbf1f9
commit
b2de21036e
9 changed files with 20 additions and 21 deletions
|
@ -70,7 +70,7 @@
|
|||
|
||||
typedef struct _Phy_Rx_AGC_Info
|
||||
{
|
||||
#if (ODM_ENDIAN_TYPE == ODM_ENDIAN_LITTLE)
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
u8 gain:7,trsw:1;
|
||||
#else
|
||||
u8 trsw:1,gain:7;
|
||||
|
@ -97,7 +97,7 @@ typedef struct _Phy_Status_Rpt_8192cd
|
|||
s8 sig_evm;
|
||||
u8 rsvd_3;
|
||||
|
||||
#if (ODM_ENDIAN_TYPE == ODM_ENDIAN_LITTLE)
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
u8 antsel_rx_keep_2:1; //ex_intf_flg:1;
|
||||
u8 sgi_en:1;
|
||||
u8 rxsc:2;
|
||||
|
@ -136,7 +136,7 @@ typedef struct _Phy_Status_Rpt_8195
|
|||
u8 rsvd_3[2];
|
||||
s8 sig_evm;
|
||||
u8 rsvd_4;
|
||||
#if (ODM_ENDIAN_TYPE == ODM_ENDIAN_LITTLE)
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
u8 antidx_anta:3;
|
||||
u8 antidx_antb:3;
|
||||
u8 rsvd_5:2;
|
||||
|
|
|
@ -55,9 +55,9 @@ typedef enum _RT_SPINLOCK_TYPE{
|
|||
|
||||
#define DEV_BUS_TYPE RT_USB_INTERFACE
|
||||
|
||||
#if defined(CONFIG_LITTLE_ENDIAN)
|
||||
#if defined(__LITTLE_ENDIAN)
|
||||
#define ODM_ENDIAN_TYPE ODM_ENDIAN_LITTLE
|
||||
#elif defined (CONFIG_BIG_ENDIAN)
|
||||
#elif defined (__BIG_ENDIAN)
|
||||
#define ODM_ENDIAN_TYPE ODM_ENDIAN_BIG
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue