public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] AM35x: musb: fix compilation error
@ 2010-11-22  8:52 Ajay Kumar Gupta
  2010-11-22  8:52 ` [PATCH 2/2] musb_gadget: fix compilation warning Ajay Kumar Gupta
       [not found] ` <1290415961-21177-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
  0 siblings, 2 replies; 18+ messages in thread
From: Ajay Kumar Gupta @ 2010-11-22  8:52 UTC (permalink / raw)
  To: linux-usb-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, balbi-l0cyMroinI0,
	Ajay Kumar Gupta

Fixes compilation error as control.h APIs are not available to
drivers/usb/musb/am35x.c file. Earlier it was getting included
from <plat/control.h> but now moved to new location by another
pacth.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>
---
Patch created against latest Linus's tree (v2.6.37-rc3)

 arch/arm/plat-omap/include/plat/usb.h |    2 ++
 drivers/usb/musb/am35x.c              |    1 -
 2 files changed, 2 insertions(+), 1 deletions(-)

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

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-12-07 16:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22  8:52 [PATCH 1/2] AM35x: musb: fix compilation error Ajay Kumar Gupta
2010-11-22  8:52 ` [PATCH 2/2] musb_gadget: fix compilation warning Ajay Kumar Gupta
     [not found]   ` <1290415961-21177-2-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2010-11-22 10:41     ` Felipe Balbi
     [not found] ` <1290415961-21177-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2010-11-22 10:22   ` [PATCH 1/2] AM35x: musb: fix compilation error Felipe Balbi
2010-11-30 18:30     ` Tony Lindgren
     [not found]       ` <20101130183010.GS17222-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2010-12-01  8:41         ` Felipe Balbi
     [not found]           ` <20101201084100.GC2796-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-12-01 12:08             ` Gupta, Ajay Kumar
     [not found]               ` <19F8576C6E063C45BE387C64729E739404BCE39717-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-12-01 19:32                 ` Felipe Balbi
2010-12-02  4:52                   ` Gupta, Ajay Kumar
     [not found]                     ` <19F8576C6E063C45BE387C64729E739404BCE398D7-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-12-02  8:29                       ` Felipe Balbi
     [not found]                         ` <20101202082904.GH5429-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-12-02 10:43                           ` Gupta, Ajay Kumar
     [not found]                             ` <19F8576C6E063C45BE387C64729E739404BCE39A7E-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-12-03 12:43                               ` Felipe Balbi
     [not found]                                 ` <20101203124317.GB2633-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-12-03 13:38                                   ` Gupta, Ajay Kumar
2010-12-06 11:20                                     ` Felipe Balbi
2010-12-06 11:54                                       ` Gupta, Ajay Kumar
     [not found]                                         ` <19F8576C6E063C45BE387C64729E739404BCE3A1B4-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-12-06 12:18                                           ` Felipe Balbi
     [not found]                                             ` <20101206121812.GC3693-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-12-07 13:55                                               ` Gupta, Ajay Kumar
     [not found]                                                 ` <19F8576C6E063C45BE387C64729E739404BCF8771E-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-12-07 16:26                                                   ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox