diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-12-02 13:06:34 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-01-11 15:10:15 +0100 |
commit | 85b7e2acd31bf975c5163e0c6d949fa3742921b1 (patch) | |
tree | bc90d8a8be706723155cfa36f81ef28d80d07176 /drivers/net/wireless/mediatek/mt76/mt76x0 | |
parent | mt76: usb: do not build the skb if reported len does not fit in buf_size (diff) | |
download | linux-85b7e2acd31bf975c5163e0c6d949fa3742921b1.tar.xz linux-85b7e2acd31bf975c5163e0c6d949fa3742921b1.zip |
mt76: Add missing include of linux/module.h
MODULE_FIRMWARE() is used in usb_mcu.c and provided by linux/module.h,
but this header file is not directly included. This causes problems in
backports with some kernel versions.
Add the missing include.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c index 9d7585029df9..f391d2d21fbc 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c @@ -15,6 +15,7 @@ */ #include <linux/kernel.h> #include <linux/firmware.h> +#include <linux/module.h> #include "mt76x0.h" #include "mcu.h" |