]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: phy: tegra remove include of <mach/iomap.h>
authorStephen Warren <swarren@nvidia.com>
Tue, 2 Oct 2012 22:50:02 +0000 (16:50 -0600)
committerStephen Warren <swarren@nvidia.com>
Mon, 29 Oct 2012 16:39:30 +0000 (10:39 -0600)
Almost nothing from this file is used, and the file will hopefully be
deleted soon. Copy the tiny portions that are used directly into
tegra_usb_phy.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@nvidia.com>
Acked-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/tegra_usb_phy.c

index 987116f9efcdec0fc7693725f3d315850f5f9eb8..9d13c81754e0cd0d2b38299dcb6143847ad380b2 100644 (file)
@@ -29,7 +29,9 @@
 #include <linux/usb/ulpi.h>
 #include <asm/mach-types.h>
 #include <linux/usb/tegra_usb_phy.h>
-#include <mach/iomap.h>
+
+#define TEGRA_USB_BASE         0xC5000000
+#define TEGRA_USB_SIZE         SZ_16K
 
 #define ULPI_VIEWPORT          0x170