Skip to contentSkip to conversation

mt76: usb: include <linux/module.h> and <linux/export.h>

PATCH In review Johannes Berg 2 participants 2 messages Sep 24, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/net/wireless/mediatek/mt76/usb.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/wireless/mediatek/mt76/usb.c +2 -0
index 7780b07543bb..71ab3b35cb81 100644
@@ -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