aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-integrator/include/mach/cm.h2
-rw-r--r--arch/arm/mach-integrator/include/mach/platform.h6
-rw-r--r--arch/arm/mach-integrator/integrator_ap.c2
-rw-r--r--arch/arm/mach-sa1100/assabet.c2
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h2
5 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 */
4void cm_control(u32, u32); 4void 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 = {
157static void __init ap_map_io(void) 157static 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-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index e1ccda6128eb..6a7ad3c2a3fc 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -388,7 +388,7 @@ static void __init map_sa1100_gpio_regs( void )
388 */ 388 */
389static void __init get_assabet_scr(void) 389static void __init get_assabet_scr(void)
390{ 390{
391 unsigned long scr, i; 391 unsigned long uninitialized_var(scr), i;
392 392
393 GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */ 393 GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */
394 GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */ 394 GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index ed77ab8c9143..d47e215aca87 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -100,7 +100,7 @@ static inline int shmobile_cpu_is_dead(unsigned int cpu) { return 1; }
100 100
101extern void shmobile_smp_init_cpus(unsigned int ncores); 101extern void shmobile_smp_init_cpus(unsigned int ncores);
102 102
103static inline void shmobile_init_late(void) 103static inline void __init shmobile_init_late(void)
104{ 104{
105 shmobile_suspend_init(); 105 shmobile_suspend_init();
106 shmobile_cpuidle_init(); 106 shmobile_cpuidle_init();