aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-21 22:00:05 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-21 22:00:05 -0500
commit66b5920f61b020fc2fc34fef9c4fcdd86df3b52e (patch)
treef516e0e9c9579aa30515b2ff23242871fe503a6f /arch
parent49bd96c2caa3f02a9273d31b96e75b7574af8c06 (diff)
parent9b73fcf85f65a301107c89e05227cd6fd6965680 (diff)
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-clps7500/core.c2
-rw-r--r--arch/arm/mach-pxa/tosa.c2
-rw-r--r--arch/arm/mach-sa1100/assabet.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-clps7500/core.c b/arch/arm/mach-clps7500/core.c
index 0364ba4b539e..d869af0023f8 100644
--- a/arch/arm/mach-clps7500/core.c
+++ b/arch/arm/mach-clps7500/core.c
@@ -260,7 +260,7 @@ static void __init clps7500_init_irq(void)
260 260
261static struct map_desc cl7500_io_desc[] __initdata = { 261static struct map_desc cl7500_io_desc[] __initdata = {
262 { /* IO space */ 262 { /* IO space */
263 .virtual = IO_BASE, 263 .virtual = (unsigned long)IO_BASE,
264 .pfn = __phys_to_pfn(IO_START), 264 .pfn = __phys_to_pfn(IO_START),
265 .length = IO_SIZE, 265 .length = IO_SIZE,
266 .type = MT_DEVICE 266 .type = MT_DEVICE
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index c312054dfb88..e4f92efc616e 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/mach-pxa/tosa.c
@@ -14,7 +14,7 @@
14 14
15#include <linux/kernel.h> 15#include <linux/kernel.h>
16#include <linux/init.h> 16#include <linux/init.h>
17#include <linux/device.h> 17#include <linux/platform_device.h>
18#include <linux/major.h> 18#include <linux/major.h>
19#include <linux/fs.h> 19#include <linux/fs.h>
20#include <linux/interrupt.h> 20#include <linux/interrupt.h>
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index 75efb5da5b6d..a66ac61233a2 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -293,7 +293,8 @@ static void __init get_assabet_scr(void)
293 GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */ 293 GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */
294 GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */ 294 GPSR = 0x3fc; /* Write 0xFF to GPIO 9:2 */
295 GPDR &= ~(0x3fc); /* Configure GPIO 9:2 as inputs */ 295 GPDR &= ~(0x3fc); /* Configure GPIO 9:2 as inputs */
296 for(i = 100; i--; scr = GPLR); /* Read GPIO 9:2 */ 296 for(i = 100; i--; ) /* Read GPIO 9:2 */
297 scr = GPLR;
297 GPDR |= 0x3fc; /* restore correct pin direction */ 298 GPDR |= 0x3fc; /* restore correct pin direction */
298 scr &= 0x3fc; /* save as system configuration byte. */ 299 scr &= 0x3fc; /* save as system configuration byte. */
299 SCR_value = scr; 300 SCR_value = scr;