diff options
Diffstat (limited to 'arch/arm/plat-mxc/ehci.c')
-rw-r--r-- | arch/arm/plat-mxc/ehci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/ehci.c b/arch/arm/plat-mxc/ehci.c index 41599be882e8..8df03f36295c 100644 --- a/arch/arm/plat-mxc/ehci.c +++ b/arch/arm/plat-mxc/ehci.c | |||
@@ -43,7 +43,7 @@ int mxc_set_usbcontrol(int port, unsigned int flags) | |||
43 | unsigned int v; | 43 | unsigned int v; |
44 | 44 | ||
45 | if (cpu_is_mx31()) { | 45 | if (cpu_is_mx31()) { |
46 | v = readl(IO_ADDRESS(MX31_OTG_BASE_ADDR + | 46 | v = readl(MX31_IO_ADDRESS(MX31_OTG_BASE_ADDR + |
47 | USBCTRL_OTGBASE_OFFSET)); | 47 | USBCTRL_OTGBASE_OFFSET)); |
48 | 48 | ||
49 | switch (port) { | 49 | switch (port) { |
@@ -79,7 +79,7 @@ int mxc_set_usbcontrol(int port, unsigned int flags) | |||
79 | break; | 79 | break; |
80 | } | 80 | } |
81 | 81 | ||
82 | writel(v, IO_ADDRESS(MX31_OTG_BASE_ADDR + | 82 | writel(v, MX31_IO_ADDRESS(MX31_OTG_BASE_ADDR + |
83 | USBCTRL_OTGBASE_OFFSET)); | 83 | USBCTRL_OTGBASE_OFFSET)); |
84 | return 0; | 84 | return 0; |
85 | } | 85 | } |