linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: host: tegra remove include of <mach/iomap.h>
@ 2012-10-02 22:49 Stephen Warren
       [not found] ` <1349218165-3494-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Warren @ 2012-10-02 22:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren,
	Venu Byravarasu

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Almost nothing from this file is used, and the file will hopefully be
deleted soon. Copy the tiny portions that are used directly into
ehci-tegra.c. I believe that Venu Byravarasu is working on cleaning up
our USB driver, and those cleanups will remove the need for these
constants.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Venu Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
Greg, if this patch can get into 3.7 (it's late, I know) at a point before
wherever you branch off your USB tree for 3.8, then that would be great.
If not, may I please request this patch be merged into a separate branch/tag
that is merged into both the Tegra and USB trees for 3.8, since I will
probably have cleanup patches in the Tegra tree that depend on this change,
and Venu will likely be sending patches through the USB tree that will need
to be merged with this too.
---
 drivers/usb/host/ehci-tegra.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 6223d17..2de0890 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -28,7 +28,10 @@
 #include <linux/pm_runtime.h>
 
 #include <linux/usb/tegra_usb_phy.h>
-#include <mach/iomap.h>
+
+#define TEGRA_USB_BASE			0xC5000000
+#define TEGRA_USB2_BASE			0xC5004000
+#define TEGRA_USB3_BASE			0xC5008000
 
 #define TEGRA_USB_DMA_ALIGN 32
 
-- 
1.7.0.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] 5+ messages in thread

end of thread, other threads:[~2012-10-24 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 22:49 [PATCH] usb: host: tegra remove include of <mach/iomap.h> Stephen Warren
     [not found] ` <1349218165-3494-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-03  4:44   ` Venu Byravarasu
2012-10-24 21:37   ` Greg Kroah-Hartman
     [not found]     ` <20121024213759.GA5303-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-10-24 21:44       ` Stephen Warren
     [not found]         ` <5088613B.1030205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-24 21:52           ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).