diff options
-rw-r--r-- | arch/arm/mach-integrator/include/mach/cm.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-integrator/include/mach/platform.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_ap.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_cp.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-integrator/include/mach/cm.h b/arch/arm/mach-integrator/include/mach/cm.h index 1a78692e32a4..202e6a57f100 100644 --- a/arch/arm/mach-integrator/include/mach/cm.h +++ b/arch/arm/mach-integrator/include/mach/cm.h | |||
@@ -3,7 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | void cm_control(u32, u32); | 4 | void cm_control(u32, u32); |
5 | 5 | ||
6 | #define CM_CTRL IO_ADDRESS(INTEGRATOR_HDR_CTRL) | 6 | #define CM_CTRL __io_address(INTEGRATOR_HDR_CTRL) |
7 | 7 | ||
8 | #define CM_CTRL_LED (1 << 0) | 8 | #define CM_CTRL_LED (1 << 0) |
9 | #define CM_CTRL_nMBDET (1 << 1) | 9 | #define CM_CTRL_nMBDET (1 << 1) |
diff --git a/arch/arm/mach-integrator/include/mach/platform.h b/arch/arm/mach-integrator/include/mach/platform.h index 4c0347526851..efeac5d0bc9e 100644 --- a/arch/arm/mach-integrator/include/mach/platform.h +++ b/arch/arm/mach-integrator/include/mach/platform.h | |||
@@ -324,9 +324,9 @@ | |||
324 | */ | 324 | */ |
325 | #define PHYS_PCI_V3_BASE 0x62000000 | 325 | #define PHYS_PCI_V3_BASE 0x62000000 |
326 | 326 | ||
327 | #define PCI_MEMORY_VADDR 0xe8000000 | 327 | #define PCI_MEMORY_VADDR IOMEM(0xe8000000) |
328 | #define PCI_CONFIG_VADDR 0xec000000 | 328 | #define PCI_CONFIG_VADDR IOMEM(0xec000000) |
329 | #define PCI_V3_VADDR 0xed000000 | 329 | #define PCI_V3_VADDR IOMEM(0xed000000) |
330 | 330 | ||
331 | /* ------------------------------------------------------------------------ | 331 | /* ------------------------------------------------------------------------ |
332 | * Integrator Interrupt Controllers | 332 | * Integrator Interrupt Controllers |
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index d5b5435a09ae..e6617c134faf 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
@@ -157,7 +157,7 @@ static struct map_desc ap_io_desc[] __initdata = { | |||
157 | static void __init ap_map_io(void) | 157 | static void __init ap_map_io(void) |
158 | { | 158 | { |
159 | iotable_init(ap_io_desc, ARRAY_SIZE(ap_io_desc)); | 159 | iotable_init(ap_io_desc, ARRAY_SIZE(ap_io_desc)); |
160 | vga_base = PCI_MEMORY_VADDR; | 160 | vga_base = (unsigned long)PCI_MEMORY_VADDR; |
161 | pci_map_io_early(__phys_to_pfn(PHYS_PCI_IO_BASE)); | 161 | pci_map_io_early(__phys_to_pfn(PHYS_PCI_IO_BASE)); |
162 | } | 162 | } |
163 | 163 | ||
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index 6870a1fbcd78..5b08e8e4cc83 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -261,6 +261,8 @@ static void __init intcp_init_early(void) | |||
261 | #endif | 261 | #endif |
262 | } | 262 | } |
263 | 263 | ||
264 | #ifdef CONFIG_OF | ||
265 | |||
264 | static void __init intcp_timer_init_of(void) | 266 | static void __init intcp_timer_init_of(void) |
265 | { | 267 | { |
266 | struct device_node *node; | 268 | struct device_node *node; |
@@ -297,8 +299,6 @@ static struct sys_timer cp_of_timer = { | |||
297 | .init = intcp_timer_init_of, | 299 | .init = intcp_timer_init_of, |
298 | }; | 300 | }; |
299 | 301 | ||
300 | #ifdef CONFIG_OF | ||
301 | |||
302 | static const struct of_device_id fpga_irq_of_match[] __initconst = { | 302 | static const struct of_device_id fpga_irq_of_match[] __initconst = { |
303 | { .compatible = "arm,versatile-fpga-irq", .data = fpga_irq_of_init, }, | 303 | { .compatible = "arm,versatile-fpga-irq", .data = fpga_irq_of_init, }, |
304 | { /* Sentinel */ } | 304 | { /* Sentinel */ } |