diff mbox

[1/2] AM35x: musb: fix compilation error

Message ID 1290415961-21177-1-git-send-email-ajay.gupta@ti.com (mailing list archive)
State Rejected, archived
Delegated to: Tony Lindgren
Headers show

Commit Message

Ajay Kumar Gupta Nov. 22, 2010, 8:52 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h
index 59c7fe7..f1b8b40 100644
--- a/arch/arm/plat-omap/include/plat/usb.h
+++ b/arch/arm/plat-omap/include/plat/usb.h
@@ -6,6 +6,8 @@ 
 #include <linux/usb/musb.h>
 #include <plat/board.h>
 
+#include "../../../mach-omap2/control.h"
+
 #define OMAP3_HS_USB_PORTS	3
 enum ehci_hcd_omap_mode {
 	EHCI_HCD_OMAP_MODE_UNKNOWN,
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index b0aabf3..30f524a 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb/musb/am35x.c
@@ -30,7 +30,6 @@ 
 #include <linux/clk.h>
 #include <linux/io.h>
 
-#include <plat/control.h>
 #include <plat/usb.h>
 
 #include "musb_core.h"