DORMANTno replies

[PATCH V2 1/1] Add missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c

From: Guillaume Gardet <hidden>
Date: 2012-05-02 13:13:11
Subsystem: multifunction devices (mfd), omap2+ support, the rest · Maintainers: Lee Jones, Aaro Koskinen, Andreas Kemnade, Kevin Hilman, Roger Quadros, Tony Lindgren, Linus Torvalds

Fix compilation error for omap boards (beagleboard, etc.) due to missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c leading to build error:
   CC      drivers/mfd/omap-usb-host.o
drivers/mfd/omap-usb-host.c: In function 'omap_usbhs_init':
drivers/mfd/omap-usb-host.c:524: error: implicit declaration of function 'cpu_is_omap3430'
drivers/mfd/omap-usb-host.c:524: error: implicit declaration of function 'omap_rev'
drivers/mfd/omap-usb-host.c:524: error: 'OMAP3430_REV_ES2_1' undeclared (first use in this function)
drivers/mfd/omap-usb-host.c:524: error: (Each undeclared identifier is reported only once
drivers/mfd/omap-usb-host.c:524: error: for each function it appears in.)


Signed-off-by: Guillaume GARDET<redacted>

---
KernelVersion: 3.4-rc5

  drivers/mfd/omap-usb-host.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index c8aae66..7e96bb2 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -25,6 +25,7 @@
  #include <linux/clk.h>
  #include <linux/dma-mapping.h>
  #include <linux/spinlock.h>
+#include <plat/cpu.h>
  #include <plat/usb.h>
  #include <linux/pm_runtime.h>
-- 
1.7.7
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help