Explorar el Código

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>
Felipe Balbi hace 13 años
padre
commit
ab570da26e
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      drivers/usb/musb/am35x.c
  2. 1 0
      drivers/usb/musb/da8xx.c

+ 1 - 0
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>

+ 1 - 0
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>