aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/boot/4xx.c2
-rw-r--r--arch/powerpc/kernel/legacy_serial.c2
-rw-r--r--arch/powerpc/sysdev/bestcomm/bestcomm.h2
-rw-r--r--arch/powerpc/sysdev/mmio_nvram.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c
index ebf9e217612d..3d0e4f921f1d 100644
--- a/arch/powerpc/boot/4xx.c
+++ b/arch/powerpc/boot/4xx.c
@@ -122,7 +122,7 @@ void ibm4xx_denali_fixup_memsize(void)
122 else 122 else
123 dpath = 4; /* 32 bits */ 123 dpath = 4; /* 32 bits */
124 124
125 /* get adress pins (rows) */ 125 /* get address pins (rows) */
126 val = mfdcr_sdram0(DDR0_42); 126 val = mfdcr_sdram0(DDR0_42);
127 127
128 row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT); 128 row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT);
diff --git a/arch/powerpc/kernel/legacy_serial.c b/arch/powerpc/kernel/legacy_serial.c
index 4ed58875ee17..b9cae6b1f8ca 100644
--- a/arch/powerpc/kernel/legacy_serial.c
+++ b/arch/powerpc/kernel/legacy_serial.c
@@ -474,7 +474,7 @@ static int __init serial_dev_init(void)
474 474
475 /* 475 /*
476 * Before we register the platfrom serial devices, we need 476 * Before we register the platfrom serial devices, we need
477 * to fixup their interrutps and their IO ports. 477 * to fixup their interrupts and their IO ports.
478 */ 478 */
479 DBG("Fixing serial ports interrupts and IO ports ...\n"); 479 DBG("Fixing serial ports interrupts and IO ports ...\n");
480 480
diff --git a/arch/powerpc/sysdev/bestcomm/bestcomm.h b/arch/powerpc/sysdev/bestcomm/bestcomm.h
index e802cb4eb69a..c960a8b49655 100644
--- a/arch/powerpc/sysdev/bestcomm/bestcomm.h
+++ b/arch/powerpc/sysdev/bestcomm/bestcomm.h
@@ -20,7 +20,7 @@ struct bcom_bd; /* defined later on ... */
20 20
21 21
22/* ======================================================================== */ 22/* ======================================================================== */
23/* Generic task managment */ 23/* Generic task management */
24/* ======================================================================== */ 24/* ======================================================================== */
25 25
26/** 26/**
diff --git a/arch/powerpc/sysdev/mmio_nvram.c b/arch/powerpc/sysdev/mmio_nvram.c
index e073e246293d..7b49633a4bd0 100644
--- a/arch/powerpc/sysdev/mmio_nvram.c
+++ b/arch/powerpc/sysdev/mmio_nvram.c
@@ -99,7 +99,7 @@ int __init mmio_nvram_init(void)
99 nvram_addr = r.start; 99 nvram_addr = r.start;
100 mmio_nvram_len = r.end - r.start + 1; 100 mmio_nvram_len = r.end - r.start + 1;
101 if ( (!mmio_nvram_len) || (!nvram_addr) ) { 101 if ( (!mmio_nvram_len) || (!nvram_addr) ) {
102 printk(KERN_WARNING "nvram: address or lenght is 0\n"); 102 printk(KERN_WARNING "nvram: address or length is 0\n");
103 ret = -EIO; 103 ret = -EIO;
104 goto out; 104 goto out;
105 } 105 }