]> 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)
commitab3e0ede71a7e3fb7debec13774308d1b65e4303
tree94470d3b8dbc3d75e84f7fa73d1ef091c08d16dd
parent99d0e4828042d973cea6c2c031187bfb0c0639f9
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