rtlwifi: rtl8188ee: Fix warning when building on big-endian systems
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 13 May 2013 02:43:46 +0000 (21:43 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 May 2013 18:31:06 +0000 (14:31 -0400)
commit58dd3ff86b4854cf6a60b60ab5eb57dbd0a2b4ad
tree94470d3b8dbc3d75e84f7fa73d1ef091c08d16dd
parentaf690092ce91a2a6d807cdfcc0b0b9b71ae54d3e
rtlwifi: rtl8188ee: Fix warning when building on big-endian systems

In http://lkml.indiana.edu/hypermail/linux/kernel/1305.1/index.html,
Geert Uytterhoeven reports a new warning when building 3.10-rc1 in
this driver. This is caused by using a "#if" test to see if __LITTLE_ENDIAN
is set, which fails for all big-endian systems. Change to "ifdef".

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8188ee/trx.h