summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-08-23 15:08:54 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 09:47:40 -0700
commit46a57283e86c68351377ac3349f1465aee938fbd (patch)
tree0a6be26876cd335cc6420cb98aa05a780552b9a3 /drivers/usb/dwc3
parent7c79d094358326132693279bfb22e4f8454cc652 (diff)
downloadop-kernel-dev-46a57283e86c68351377ac3349f1465aee938fbd.zip
op-kernel-dev-46a57283e86c68351377ac3349f1465aee938fbd.tar.gz
usb: include module.h in the DesignWare USB3 DRD driver
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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/dwc3-pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c
index 2578595..e3b77d2 100644
--- a/drivers/usb/dwc3/dwc3-pci.c
+++ b/drivers/usb/dwc3/dwc3-pci.c
@@ -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>
OpenPOWER on IntegriCloud