summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-10 09:58:04 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-14 11:51:32 -0800
commitab570da26eec4e840dc1d18f45ab9d64bae49a5d (patch)
tree6bce9393ec7cfef4f25151e8f417999e6cbc14b1 /drivers/usb/musb
parent12d36c16bde3ee0643d705caa87723de536dbe49 (diff)
downloadop-kernel-dev-ab570da26eec4e840dc1d18f45ab9d64bae49a5d.zip
op-kernel-dev-ab570da26eec4e840dc1d18f45ab9d64bae49a5d.tar.gz
usb: musb: fix compilation breakage introduced by de47725
commit de47725 (include: replace linux/module.h with "struct module" wherever possible) introduced a compilation breaked when it removed <linux/module.h> from <linux/device.h> which musb glue layers were (mistakenly) relying on. Include that header to fix the compile error. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/am35x.c1
-rw-r--r--drivers/usb/musb/da8xx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index 08f1d0b6..e233d2b 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb/musb/am35x.c
@@ -27,6 +27,7 @@
*/
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/platform_device.h>
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index 4da7492..2613bfd 100644
--- a/drivers/usb/musb/da8xx.c
+++ b/drivers/usb/musb/da8xx.c
@@ -27,6 +27,7 @@
*/
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/platform_device.h>
OpenPOWER on IntegriCloud