diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-12-16 13:06:12 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-08 10:41:26 -0500 |
commit | 1273e7686f0c122bf58592c57387471c7f4eaa1b (patch) | |
tree | bda9b03fdb443c6ddba8d78923fc14150776a991 /arch/arm/plat-mxc/ehci.c | |
parent | bc9ea6c7f5352f8857525b054bc3df784be1b8d5 (diff) |
imx31: define and use MX31_IO_ADDRESS
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Magnus Lilja <lilja.magnus@gmail.com>
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 | } |