[PATCH] staging: rtlwifi: fix multiple build errors

From: Randy Dunlap
Date: Tue Aug 22 2017 - 11:51:38 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Fix many build errors when NETDEVICES is not enabled.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
---
drivers/staging/rtlwifi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20170822.orig/drivers/staging/rtlwifi/Kconfig
+++ linux-next-20170822/drivers/staging/rtlwifi/Kconfig
@@ -1,6 +1,6 @@
config R8822BE
tristate "Realtek RTL8822BE Wireless Network Adapter"
- depends on PCI && m
+ depends on NETDEVICES && PCI && m
select FW_LOADER
---help---
This is the staging driver for Realtek RTL8822BE 802.11ac PCIe