Skip to content

Commit

Permalink
mt76: Add missing include of linux/module.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hauke authored and nbd168 committed Dec 28, 2018
1 parent 0490bd2 commit eb076ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mt76x0/usb_mcu.c
Expand Up @@ -15,6 +15,7 @@
*/
#include <linux/kernel.h>
#include <linux/firmware.h>
#include <linux/module.h>

#include "mt76x0.h"
#include "mcu.h"
Expand Down

0 comments on commit eb076ae

Please sign in to comment.