diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-04-02 21:18:48 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-05-12 20:52:29 +0300 |
commit | bb31a80eb2b36cccf5d72b616381aff650ac3961 (patch) | |
tree | 0ffe0f3599aeb86bd95bb5d72b6c629f9f246b8b /drivers/net/wireless/mediatek/mt76/mt7603/mcu.h | |
parent | 34cdf1a618eb071a62362eb79428835167630531 (diff) | |
download | linux-bb31a80eb2b36cccf5d72b616381aff650ac3961.tar.xz |
mt76: add headroom and tailroom to mt76_mcu_ops data structure
Introduce headroom and tailroom to mt76_mcu_ops data structure in order
to unify the routine used for mcu message allocation. This is a
preliminary patch to add mt7663u support
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7603/mcu.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7603/mcu.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/mcu.h b/drivers/net/wireless/mediatek/mt76/mt7603/mcu.h index 1bba369d5c8a..30df8a3fd11a 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7603/mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt7603/mcu.h @@ -100,11 +100,4 @@ enum { MCU_EXT_EVENT_BCN_UPDATE = 0x31, }; -static inline struct sk_buff * -mt7603_mcu_msg_alloc(const void *data, int len) -{ - return mt76_mcu_msg_alloc(data, sizeof(struct mt7603_mcu_txd), - len, 0); -} - #endif |