OSDN Git Service

staging: rtlwifi: fix multiple build errors
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 22 Aug 2017 15:51:09 +0000 (08:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:33:19 +0000 (18:33 -0700)
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>
drivers/staging/rtlwifi/Kconfig

index fc482b4..37e47b8 100644 (file)
@@ -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