summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lin <dlin@marvell.com>2015-06-03 15:21:34 +0800
committerDavid Lin <dlin@marvell.com>2015-06-03 15:21:34 +0800
commite70093a9dedbd55b27c2bb8ccc09be6406b92281 (patch)
treef2665e33a65f457925815b7426bcd149d73f678e
parentc44f6c483353b0c4bbd76af88422fde00f22d463 (diff)
Let mwlwifi driver can be built in the kernel source tree.
Signed-off-by: David Lin <dlin@marvell.com>
-rw-r--r--Kconfig3
-rw-r--r--Makefile.kernel2
2 files changed, 3 insertions, 2 deletions
diff --git a/Kconfig b/Kconfig
index ef3b3b0..3a14c89 100644
--- a/Kconfig
+++ b/Kconfig
@@ -1,12 +1,13 @@
config MWLWIFI
tristate "Marvell Wireless WiFi driver (mwlwifi)"
- depends on m
depends on PCI && MAC80211
select FW_LOADER
+ select OF
---help---
Select to build the driver supporting the:
Marvell Wireless WiFi 88W8864 Chip.
+ Marvell Wireless WiFi 88W8897 Chip.
This driver uses the kernel's mac80211 subsystem.
diff --git a/Makefile.kernel b/Makefile.kernel
index 8fee3bd..ad97138 100644
--- a/Makefile.kernel
+++ b/Makefile.kernel
@@ -1,4 +1,4 @@
-obj-$(CPTCFG_MWLWIFI) += mwlwifi.o
+obj-$(CONFIG_MWLWIFI) += mwlwifi.o
mwlwifi-objs += mwl_main.o
mwlwifi-objs += mwl_mac80211.o