diff options
Diffstat (limited to 'arch/arm/mach-iop13xx/setup.c')
-rw-r--r-- | arch/arm/mach-iop13xx/setup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-iop13xx/setup.c b/arch/arm/mach-iop13xx/setup.c index 4a7f20d7fb6e..3181f61ea63e 100644 --- a/arch/arm/mach-iop13xx/setup.c +++ b/arch/arm/mach-iop13xx/setup.c | |||
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | static struct map_desc iop13xx_std_desc[] __initdata = { | 37 | static struct map_desc iop13xx_std_desc[] __initdata = { |
38 | { /* mem mapped registers */ | 38 | { /* mem mapped registers */ |
39 | .virtual = IOP13XX_PMMR_VIRT_MEM_BASE, | 39 | .virtual = (unsigned long)IOP13XX_PMMR_VIRT_MEM_BASE, |
40 | .pfn = __phys_to_pfn(IOP13XX_PMMR_PHYS_MEM_BASE), | 40 | .pfn = __phys_to_pfn(IOP13XX_PMMR_PHYS_MEM_BASE), |
41 | .length = IOP13XX_PMMR_SIZE, | 41 | .length = IOP13XX_PMMR_SIZE, |
42 | .type = MT_DEVICE, | 42 | .type = MT_DEVICE, |
@@ -71,8 +71,8 @@ static struct resource iop13xx_uart1_resources[] = { | |||
71 | 71 | ||
72 | static struct plat_serial8250_port iop13xx_uart0_data[] = { | 72 | static struct plat_serial8250_port iop13xx_uart0_data[] = { |
73 | { | 73 | { |
74 | .membase = (char*)(IOP13XX_UART0_VIRT), | 74 | .membase = IOP13XX_UART0_VIRT, |
75 | .mapbase = (IOP13XX_UART0_PHYS), | 75 | .mapbase = IOP13XX_UART0_PHYS, |
76 | .irq = IRQ_IOP13XX_UART0, | 76 | .irq = IRQ_IOP13XX_UART0, |
77 | .uartclk = IOP13XX_UART_XTAL, | 77 | .uartclk = IOP13XX_UART_XTAL, |
78 | .regshift = 2, | 78 | .regshift = 2, |
@@ -84,8 +84,8 @@ static struct plat_serial8250_port iop13xx_uart0_data[] = { | |||
84 | 84 | ||
85 | static struct plat_serial8250_port iop13xx_uart1_data[] = { | 85 | static struct plat_serial8250_port iop13xx_uart1_data[] = { |
86 | { | 86 | { |
87 | .membase = (char*)(IOP13XX_UART1_VIRT), | 87 | .membase = IOP13XX_UART1_VIRT, |
88 | .mapbase = (IOP13XX_UART1_PHYS), | 88 | .mapbase = IOP13XX_UART1_PHYS, |
89 | .irq = IRQ_IOP13XX_UART1, | 89 | .irq = IRQ_IOP13XX_UART1, |
90 | .uartclk = IOP13XX_UART_XTAL, | 90 | .uartclk = IOP13XX_UART_XTAL, |
91 | .regshift = 2, | 91 | .regshift = 2, |