diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2013-08-27 17:12:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-27 17:00:46 -0700 |
commit | 854984d70c6b0e67569e5390f50d8c6c9ad5c8b7 (patch) | |
tree | aef0529e78e600ca5d85d0f6f2415dae45de2b32 | |
parent | 6850143ab547ca9256c23e7b885612cd6976dfa7 (diff) |
staging: r8188eu: Fix build error with random configuration
The kbuild test robot reports the following error:
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e4a745f9519ef2bbb9d75212ae1cca7582d76266
commit: b63c05394f3fe9ae547e1fa9df30f1ba0bcdabb4 [7011/7939] staging: r8188eu: Turn on build of new driver
config: x86_64-randconfig-x0-0828 (attached as .config)
All error/warnings:
drivers/staging/rtl8188eu/core/rtw_p2p.c: In function 'go_add_group_info_attr':
>> drivers/staging/rtl8188eu/core/rtw_p2p.c:70:11: error: 'struct sta_info' has no member named 'is_p2p_device'
if (psta->is_p2p_device) {
This and the following errors were caused by an incorrect nesting of
conditional compilation directives.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/include/sta_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/sta_info.h b/drivers/staging/rtl8188eu/include/sta_info.h index acc632ae5ae0..3ed2a39741ad 100644 --- a/drivers/staging/rtl8188eu/include/sta_info.h +++ b/drivers/staging/rtl8188eu/include/sta_info.h @@ -180,6 +180,7 @@ struct sta_info { u8 has_legacy_ac; unsigned int sleepq_ac_len; +#endif /* CONFIG_88EU_AP_MODE */ #ifdef CONFIG_88EU_P2P /* p2p priv data */ @@ -198,7 +199,6 @@ struct sta_info { #endif /* CONFIG_88EU_P2P */ u8 under_exist_checking; u8 keep_alive_trycnt; -#endif /* CONFIG_88EU_AP_MODE */ /* for DM */ struct rssi_sta rssi_stat; |