Ver Fonte

usb: Add module.h to various dwc3 drivers

These files uses the full set of MODULE_ macros and so need to
include module.h directly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Paul Gortmaker há 13 anos atrás
pai
commit
2204fdee84
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      drivers/usb/dwc3/core.c
  2. 1 0
      drivers/usb/dwc3/dwc3-omap.c

+ 1 - 0
drivers/usb/dwc3/core.c

@@ -51,6 +51,7 @@
 
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
+#include <linux/module.h>
 
 #include "core.h"
 #include "gadget.h"

+ 1 - 0
drivers/usb/dwc3/dwc3-omap.c

@@ -46,6 +46,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/ioport.h>
 #include <linux/io.h>
+#include <linux/module.h>
 
 #include "io.h"