]> git.karo-electronics.de Git - linux-beck.git/commit
rtl8188ee: fix build break due to missing rtl_hal_pwrseqcmdparsing definition
authorJeff Layton <jeff.layton@primarydata.com>
Sat, 14 Mar 2015 16:07:17 +0000 (12:07 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 06:29:45 +0000 (08:29 +0200)
commit0aef188a361b85d6804ed5fdfc69dde0f5074f59
treebe819f196223289d168062ac77800c6f36d32801
parent7644317bd39c147c888b5d4cea3e2706d12483dd
rtl8188ee: fix build break due to missing rtl_hal_pwrseqcmdparsing definition

I've been getting this error when building mainline kernels using
Fedora's config files:

    drivers/net/wireless/rtlwifi/rtl8188ee/hw.c: In function ‘_rtl88ee_init_mac’:
    drivers/net/wireless/rtlwifi/rtl8188ee/hw.c:853:2: error: implicit declaration of function ‘rtl_hal_pwrseqcmdparsing’ [-Werror=implicit-function-declaration]
      if (!rtl_hal_pwrseqcmdparsing(rtlpriv, PWR_CUT_ALL_MSK,
      ^
    cc1: some warnings being treated as errors
    scripts/Makefile.build:258: recipe for target 'drivers/net/wireless/rtlwifi/rtl8188ee/hw.o' failed

I'm not sure if this is the correct fix, but it does seem to allow the
build to complete. I suspect that this was broken by commit 34ed780a6afc
(rtlwifi: Fix problems with building an allyesconfig). Most of the files
that removed the include of pwrseqcmd.h, added one for ../pwrseqcmd.h.
The rtl8188ee driver had it removed it but didn't add the include of the
file in the parent directory.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/rtl8188ee/hw.c