diff options
author | Stanislaw Gruszka | 2018-08-29 13:16:35 +0200 |
---|---|---|
committer | Kalle Valo | 2018-09-04 10:02:47 +0200 |
commit | 108a4861ef19af44dbec89b4f9e2ebc87b781cdc (patch) | |
tree | 891acc13d8a7279221ef0d98f2495e3a133e5ba2 /drivers/net/wireless/mediatek/mt76/Makefile | |
parent | mt76: merge mt76x0/regs.h into mt76x02_regs.h (diff) | |
download | kernel-qcow2-linux-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.tar.gz kernel-qcow2-linux-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.tar.xz kernel-qcow2-linux-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.zip |
mt76: create new mt76x02-lib module for common mt76x{0,2} code
Move rxfilter and mutex to common structure. Create mt76x02-lib.ko
for mt76x0 and mt76x2 common functions and create new unified
mt76x02_configure_filter() function there.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/Makefile')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile index 158d10d2716c..7d95f141cd73 100644 --- a/drivers/net/wireless/mediatek/mt76/Makefile +++ b/drivers/net/wireless/mediatek/mt76/Makefile @@ -1,6 +1,7 @@ obj-$(CONFIG_MT76_CORE) += mt76.o obj-$(CONFIG_MT76_USB) += mt76-usb.o obj-$(CONFIG_MT76x0U) += mt76x0/ +obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o obj-$(CONFIG_MT76x2E) += mt76x2e.o obj-$(CONFIG_MT76x2U) += mt76x2u.o @@ -13,6 +14,8 @@ mt76-usb-y := usb.o usb_trace.o usb_mcu.o CFLAGS_trace.o := -I$(src) CFLAGS_usb_trace.o := -I$(src) +mt76x02-lib-y := mt76x02_util.o + mt76x2-common-y := \ mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \ mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \ |