浏览代码

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 年之前
父节点
当前提交
0be5dec503
共有 1 个文件被更改,包括 1 次插入1 次删除
  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