summaryrefslogtreecommitdiffstats
path: root/drivers/usb
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
parent12d36c16bde3ee0643d705caa87723de536dbe49 (diff)
downloadblackbird-op-linux-ab570da26eec4e840dc1d18f45ab9d64bae49a5d.tar.gz
blackbird-op-linux-ab570da26eec4e840dc1d18f45ab9d64bae49a5d.zip
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')
-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 08f1d0b662a3..e233d2b7d335 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 4da7492ddbdb..2613bfdb09b6 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