From patchwork Tue Oct 2 22:49:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: usb: host: tegra remove include of Date: Tue, 02 Oct 2012 12:49:25 -0000 From: Stephen Warren X-Patchwork-Id: 188681 Message-Id: <1349218165-3494-1-git-send-email-swarren@wwwdotorg.org> To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, Stephen Warren , Venu Byravarasu From: Stephen Warren 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 Cc: Venu Byravarasu Acked-by: Venu Byravarasu --- 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 #include -#include + +#define TEGRA_USB_BASE 0xC5000000 +#define TEGRA_USB2_BASE 0xC5004000 +#define TEGRA_USB3_BASE 0xC5008000 #define TEGRA_USB_DMA_ALIGN 32