mt76: Add missing include of linux/module.h
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Dec 2018 12:06:34 +0000 (13:06 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:10:15 +0000 (15:10 +0100)
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>
drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c

index 9d7585029df94fbf597ed5fb93f7ac83300180c8..f391d2d21fbc7e8555918d20f00720e35d5aa205 100644 (file)
@@ -15,6 +15,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/firmware.h>
+#include <linux/module.h>
 
 #include "mt76x0.h"
 #include "mcu.h"