usb: dwc3: add module.h to dwc3-omap.c and core.c
authorFelipe Balbi <balbi@ti.com>
Mon, 5 Sep 2011 10:37:28 +0000 (13:37 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:03:00 +0000 (13:03 +0300)
We need that header because of THIS_MODULE.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-omap.c

index 6aa091339989d4ef80b31b0c3c4171aa813f76a7..64ba0979a34955bcea341b6182b2f0f797053301 100644 (file)
@@ -37,6 +37,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
index ddbf38a940172f0deacdc23e0e2a1111dca52a60..8a5d6ae02997677d83b9257a737d4902a6fcc4d7 100644 (file)
@@ -37,6 +37,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>