]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93a3f18d41634be89005f5f9b5c7c6e4411aa0c1
tree94470d3b8dbc3d75e84f7fa73d1ef091c08d16dd
parent9ab0e8294d653744ea0527aba81e6e6559664479
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