Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Felipe Balbi and committed by
Greg Kroah-Hartman
ab570da2 12d36c16

+2
+1
drivers/usb/musb/am35x.c
··· 27 27 */ 28 28 29 29 #include <linux/init.h> 30 + #include <linux/module.h> 30 31 #include <linux/clk.h> 31 32 #include <linux/io.h> 32 33 #include <linux/platform_device.h>
+1
drivers/usb/musb/da8xx.c
··· 27 27 */ 28 28 29 29 #include <linux/init.h> 30 + #include <linux/module.h> 30 31 #include <linux/clk.h> 31 32 #include <linux/io.h> 32 33 #include <linux/platform_device.h>