usb: include module.h in the DesignWare USB3 DRD driver
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 23 Aug 2011 05:08:54 +0000 (15:08 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 16:47:40 +0000 (09:47 -0700)
Fixes this build error:

drivers/usb/dwc3/dwc3-pci.c: In function 'dwc3_pci_init':
drivers/usb/dwc3/dwc3-pci.c:211:9: error: 'THIS_MODULE' undeclared (first use in this function)

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/dwc3/dwc3-pci.c

index 257859564f914c0c1a5d1d17a6d688dce6fcbede..e3b77d2dc03487a0bbb2c51ee2beb54d9cefd2de 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/pci.h>
 #include <linux/platform_device.h>