aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-09-11 08:27:23 -0400
committerJason Cooper <jason@lakedaemon.net>2012-09-21 14:04:14 -0400
commitd19beac1d9358bb4a2a303f4327bf2d40ba88464 (patch)
treeee26398249ab42f5a21e861ee34b5cdde61a6f22 /arch/arm/mach-orion5x
parent9758e70a448f92fb850712650a0394d8532c17ff (diff)
arm: plat-orion: use void __iomem pointers for UART registration functions
The registration functions for UARTs now take void __iomem pointers, so we remove the temporary "unsigned long" casts from the mach-*/common.c files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r--arch/arm/mach-orion5x/common.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c
index a890cb0eb83d..79f9ffb9a142 100644
--- a/arch/arm/mach-orion5x/common.c
+++ b/arch/arm/mach-orion5x/common.c
@@ -156,8 +156,7 @@ void __init orion5x_spi_init()
156 ****************************************************************************/ 156 ****************************************************************************/
157void __init orion5x_uart0_init(void) 157void __init orion5x_uart0_init(void)
158{ 158{
159 orion_uart0_init((unsigned long) UART0_VIRT_BASE, 159 orion_uart0_init(UART0_VIRT_BASE, UART0_PHYS_BASE,
160 UART0_PHYS_BASE,
161 IRQ_ORION5X_UART0, tclk); 160 IRQ_ORION5X_UART0, tclk);
162} 161}
163 162
@@ -166,8 +165,7 @@ void __init orion5x_uart0_init(void)
166 ****************************************************************************/ 165 ****************************************************************************/
167void __init orion5x_uart1_init(void) 166void __init orion5x_uart1_init(void)
168{ 167{
169 orion_uart1_init((unsigned long) UART1_VIRT_BASE, 168 orion_uart1_init(UART1_VIRT_BASE, UART1_PHYS_BASE,
170 UART1_PHYS_BASE,
171 IRQ_ORION5X_UART1, tclk); 169 IRQ_ORION5X_UART1, tclk);
172} 170}
173 171