Commit 85b7e2ac authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Felix Fietkau

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: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 0ecf94dc
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#include <linux/module.h>
#include "mt76x0.h" #include "mt76x0.h"
#include "mcu.h" #include "mcu.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment