mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
493feb90c9
commit
a2380992d8
@@ -1,6 +1,7 @@
|
||||
EXTRA_CFLAGS += -Werror
|
||||
|
||||
obj-m := mt76.o mt76x2-common.o mt76x2e.o mt7603e.o
|
||||
obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o
|
||||
obj-$(CONFIG_MT76_USB) += mt76-usb.o
|
||||
obj-$(CONFIG_MT76X2U) += mt76x2u.o
|
||||
obj-$(CONFIG_MT76x0U) += mt76x0/
|
||||
@@ -10,6 +11,8 @@ mt76-y := \
|
||||
|
||||
mt76-usb-y := usb.o usb_trace.o usb_mcu.o
|
||||
|
||||
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 \
|
||||
|
||||
Reference in New Issue
Block a user