mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Convert from endian defined in Makefile to use architecture-defined value
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2951f6bc15
commit
dc7c8c0b5d
10 changed files with 31 additions and 97 deletions
|
@ -896,13 +896,13 @@ struct cmd_hdl wlancmds[] =
|
|||
struct C2HEvent_Header
|
||||
{
|
||||
|
||||
#ifdef CONFIG_LITTLE_ENDIAN
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
|
||||
unsigned int len:16;
|
||||
unsigned int ID:8;
|
||||
unsigned int seq:8;
|
||||
|
||||
#elif defined(CONFIG_BIG_ENDIAN)
|
||||
#elif defined(__BIG_ENDIAN)
|
||||
|
||||
unsigned int seq:8;
|
||||
unsigned int ID:8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue