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

Guillaume Gardet guillaume.gardet at free.fr
Tue May 1 14:35:21 EDT 2012


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 (unknown cpu_is_omap3430, omap_rev and OMAP3430_REV_ES2_1).

KernelVersion: 3.4-rc5

Signed-off-by: Guillaume GARDET<guillaume.gardet at free.fr>

---
  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>




More information about the linux-arm-kernel mailing list