Browse Source

staging: rtlwifi: fix multiple build errors

Fix many build errors when NETDEVICES is not enabled.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Randy Dunlap 8 years ago
parent
commit
0be5dec503
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/rtlwifi/Kconfig

+ 1 - 1
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