OpenCloudOS-Kernel/drivers/staging/rtl8192e
Chen Gang 3ec16e93d8 drivers: staging: rtl8192e: Include "asm/unaligned.h" instead of "access_ok.h" in "rtl819x_BAProc.c"
"asm/unaligned.h" is more generic than "access_ok.h", and it may include
"access_ok.h", so need use it instead of "access_ok.h".

During building, "rtllib.h" has already include "asm/unaligned.h", so
will cause building issue. The related error (with allmodconfig under
parisc):

    CC [M]  drivers/staging/rtl8192e/rtl819x_BAProc.o
  In file included from ./arch/parisc/include/asm/unaligned.h:4:0,
                   from include/linux/ieee80211.h:22,
                   from include/net/lib80211.h:31,
                   from drivers/staging/rtl8192e/rtllib.h:45,
                   from drivers/staging/rtl8192e/rtl819x_BAProc.c:20:
  include/linux/unaligned/be_struct.h:6:19: error: redefinition of 'get_unaligned_be16'
   static inline u16 get_unaligned_be16(const void *p)
                   ^
  In file included from drivers/staging/rtl8192e/rtl819x_BAProc.c:19:0:
  include/linux/unaligned/access_ok.h:22:19: note: previous definition of 'get_unaligned_be16' was here
   static inline u16 get_unaligned_be16(const void *p)
                   ^
  ...

For independent from other include files, still suggest it includes
"asm/unaligned.h" too. And also include "asm/byteorder.h" since it is
the first include file".

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-12-02 16:47:11 -08:00
..
rtl8192e staging: rtl8192e: delete successive assignments to the same location 2014-10-28 15:53:25 +08:00
Kconfig
Makefile
TODO
dot11d.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
dot11d.h
license
rtl819x_BA.h
rtl819x_BAProc.c drivers: staging: rtl8192e: Include "asm/unaligned.h" instead of "access_ok.h" in "rtl819x_BAProc.c" 2014-12-02 16:47:11 -08:00
rtl819x_HT.h
rtl819x_HTProc.c staging: rtl8192e: Fix void function return statements style 2014-10-02 11:56:43 -07:00
rtl819x_Qos.h
rtl819x_TS.h
rtl819x_TSProc.c Staging: rtl8192e: Fix space before semicolon warning 2014-09-19 17:14:30 -07:00
rtllib.h staging, rtl8192e, LLVMLinux: Remove unused prototype 2014-10-29 16:33:05 -07:00
rtllib_crypt.c
rtllib_crypt.h
rtllib_crypt_ccmp.c Staging: rtl8192e: Fix style warnings relating to printk(KERN_DEBUG 2014-09-19 17:11:06 -07:00
rtllib_crypt_tkip.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_crypt_wep.c Staging: rtl8192e: Fix printk debug style warning 2014-09-19 17:14:30 -07:00
rtllib_debug.h
rtllib_endianfree.h
rtllib_module.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_rx.c Drivers:staging:rtl8192e: Fixed checkpatch warning 2014-12-02 16:47:11 -08:00
rtllib_softmac.c staging: rtl8192e: add missing tasklet_kill on remove path 2014-11-26 14:03:06 -08:00
rtllib_softmac_wx.c Staging: rtl8192e: Remove unused variable 2014-09-28 23:39:27 -04:00
rtllib_tx.c staging: rtl8192e: Remove unneeded void return 2014-10-02 11:56:43 -07:00
rtllib_wx.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00