summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/am35x.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-11-10 08:58:04 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-14 20:51:32 +0100
commitab570da26eec4e840dc1d18f45ab9d64bae49a5d (patch)
tree6bce9393ec7cfef4f25151e8f417999e6cbc14b1 /drivers/usb/musb/am35x.c
parentusb: dwc3: gadget: initialize max_streams (diff)
downloadlinux-ab570da26eec4e840dc1d18f45ab9d64bae49a5d.tar.xz
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/musb/am35x.c')
-rw-r--r--drivers/usb/musb/am35x.c1
1 files changed, 1 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>