mt76: usb: include <linux/module.h> and <linux/export.h>
Subsystems (2)
PATCH 1/1 mt76: usb: include <linux/module.h> and <linux/export.h>
From: Johannes Berg <[email protected]>
This file uses MODULE_AUTHOR() etc. as well as EXPORT_SYMBOL_GPL() so should include the necessary header files for it.
Signed-off-by Johannes Berg <[email protected]>
--- drivers/net/wireless/mediatek/mt76/usb.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/mediatek/mt76/usb.c +2 -0
@@ -14,6 +14,8 @@* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <linux/module.h> +#include <linux/export.h> #include "mt76.h" #include "usb_trace.h" #include "dma.h"
Signature · 1 line
2.14.4
Felix Fietkau
maintainerQuoted 6 lines · Johannes Berg
From: Johannes Berg <[email protected]>
This file uses
MODULE_AUTHOR()etc. as well asEXPORT_SYMBOL_GPL()so should include the necessary header files for it.Signed-off-by Johannes Berg <[email protected]>
Replaced with a more complete fix.
Thanks,
- Felix