aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/autcpu12.c6
-rw-r--r--drivers/mtd/nand/bf5xx_nand.c2
-rw-r--r--drivers/mtd/nand/cs553x_nand.c2
-rw-r--r--drivers/mtd/nand/edb7312.c2
-rw-r--r--drivers/mtd/nand/nand_base.c2
-rw-r--r--drivers/mtd/nand/nandsim.c2
-rw-r--r--drivers/mtd/nand/s3c2410.c2
-rw-r--r--drivers/mtd/nand/sharpsl.c2
8 files changed, 10 insertions, 10 deletions
diff --git a/drivers/mtd/nand/autcpu12.c b/drivers/mtd/nand/autcpu12.c
index e3744eb8eccb..dd38011ee0b7 100644
--- a/drivers/mtd/nand/autcpu12.c
+++ b/drivers/mtd/nand/autcpu12.c
@@ -20,7 +20,7 @@
20 * 20 *
21 * 02-12-2002 TG Cleanup of module params 21 * 02-12-2002 TG Cleanup of module params
22 * 22 *
23 * 02-20-2002 TG adjusted for different rd/wr adress support 23 * 02-20-2002 TG adjusted for different rd/wr address support
24 * added support for read device ready/busy line 24 * added support for read device ready/busy line
25 * added page_cache 25 * added page_cache
26 * 26 *
@@ -144,7 +144,7 @@ static int __init autcpu12_init(void)
144 goto out; 144 goto out;
145 } 145 }
146 146
147 /* map physical adress */ 147 /* map physical address */
148 autcpu12_fio_base = ioremap(AUTCPU12_PHYS_SMC, SZ_1K); 148 autcpu12_fio_base = ioremap(AUTCPU12_PHYS_SMC, SZ_1K);
149 if (!autcpu12_fio_base) { 149 if (!autcpu12_fio_base) {
150 printk("Ioremap autcpu12 SmartMedia Card failed\n"); 150 printk("Ioremap autcpu12 SmartMedia Card failed\n");
@@ -227,7 +227,7 @@ static void __exit autcpu12_cleanup(void)
227 /* Release resources, unregister device */ 227 /* Release resources, unregister device */
228 nand_release(autcpu12_mtd); 228 nand_release(autcpu12_mtd);
229 229
230 /* unmap physical adress */ 230 /* unmap physical address */
231 iounmap(autcpu12_fio_base); 231 iounmap(autcpu12_fio_base);
232 232
233 /* Free the MTD device structure */ 233 /* Free the MTD device structure */
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 1657ecd74881..a52f3a737c39 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -4,7 +4,7 @@
4 * http://blackfin.uclinux.org/ 4 * http://blackfin.uclinux.org/
5 * Bryan Wu <bryan.wu@analog.com> 5 * Bryan Wu <bryan.wu@analog.com>
6 * 6 *
7 * Blackfin BF5xx on-chip NAND flash controler driver 7 * Blackfin BF5xx on-chip NAND flash controller driver
8 * 8 *
9 * Derived from drivers/mtd/nand/s3c2410.c 9 * Derived from drivers/mtd/nand/s3c2410.c
10 * Copyright (c) 2007 Ben Dooks <ben@simtec.co.uk> 10 * Copyright (c) 2007 Ben Dooks <ben@simtec.co.uk>
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 89deff007116..19e1594421a4 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -337,7 +337,7 @@ static void __exit cs553x_cleanup(void)
337 nand_release(cs553x_mtd[i]); 337 nand_release(cs553x_mtd[i]);
338 cs553x_mtd[i] = NULL; 338 cs553x_mtd[i] = NULL;
339 339
340 /* unmap physical adress */ 340 /* unmap physical address */
341 iounmap(mmio_base); 341 iounmap(mmio_base);
342 342
343 /* Free the MTD device structure */ 343 /* Free the MTD device structure */
diff --git a/drivers/mtd/nand/edb7312.c b/drivers/mtd/nand/edb7312.c
index 0146cdc48039..ba67bbec20d3 100644
--- a/drivers/mtd/nand/edb7312.c
+++ b/drivers/mtd/nand/edb7312.c
@@ -125,7 +125,7 @@ static int __init ep7312_init(void)
125 return -ENOMEM; 125 return -ENOMEM;
126 } 126 }
127 127
128 /* map physical adress */ 128 /* map physical address */
129 ep7312_fio_base = ioremap(ep7312_fio_pbase, SZ_1K); 129 ep7312_fio_base = ioremap(ep7312_fio_pbase, SZ_1K);
130 if (!ep7312_fio_base) { 130 if (!ep7312_fio_base) {
131 printk("ioremap EDB7312 NAND flash failed\n"); 131 printk("ioremap EDB7312 NAND flash failed\n");
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index e29c1da7f56e..ddd4fc019042 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -89,7 +89,7 @@ static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
89 struct mtd_oob_ops *ops); 89 struct mtd_oob_ops *ops);
90 90
91/* 91/*
92 * For devices which display every fart in the system on a seperate LED. Is 92 * For devices which display every fart in the system on a separate LED. Is
93 * compiled away when LED support is disabled. 93 * compiled away when LED support is disabled.
94 */ 94 */
95DEFINE_LED_TRIGGER(nand_led_trigger); 95DEFINE_LED_TRIGGER(nand_led_trigger);
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index 10490b48d9f7..bb885d1fcab5 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -210,7 +210,7 @@ MODULE_PARM_DESC(overridesize, "Specifies the NAND Flash size overriding the I
210#define STATE_CMD_RESET 0x0000000C /* reset */ 210#define STATE_CMD_RESET 0x0000000C /* reset */
211#define STATE_CMD_MASK 0x0000000F /* command states mask */ 211#define STATE_CMD_MASK 0x0000000F /* command states mask */
212 212
213/* After an addres is input, the simulator goes to one of these states */ 213/* After an address is input, the simulator goes to one of these states */
214#define STATE_ADDR_PAGE 0x00000010 /* full (row, column) address is accepted */ 214#define STATE_ADDR_PAGE 0x00000010 /* full (row, column) address is accepted */
215#define STATE_ADDR_SEC 0x00000020 /* sector address was accepted */ 215#define STATE_ADDR_SEC 0x00000020 /* sector address was accepted */
216#define STATE_ADDR_ZERO 0x00000030 /* one byte zero address was accepted */ 216#define STATE_ADDR_ZERO 0x00000030 /* one byte zero address was accepted */
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 66f76e9618dd..2bd0737572c6 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -8,7 +8,7 @@
8 * 8 *
9 * Changelog: 9 * Changelog:
10 * 21-Sep-2004 BJD Initial version 10 * 21-Sep-2004 BJD Initial version
11 * 23-Sep-2004 BJD Mulitple device support 11 * 23-Sep-2004 BJD Multiple device support
12 * 28-Sep-2004 BJD Fixed ECC placement for Hardware mode 12 * 28-Sep-2004 BJD Fixed ECC placement for Hardware mode
13 * 12-Oct-2004 BJD Fixed errors in use of platform data 13 * 12-Oct-2004 BJD Fixed errors in use of platform data
14 * 18-Feb-2005 BJD Fix sparse errors 14 * 18-Feb-2005 BJD Fix sparse errors
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c
index 51c7288ab49a..033f8800b1e6 100644
--- a/drivers/mtd/nand/sharpsl.c
+++ b/drivers/mtd/nand/sharpsl.c
@@ -165,7 +165,7 @@ static int __init sharpsl_nand_init(void)
165 return -ENOMEM; 165 return -ENOMEM;
166 } 166 }
167 167
168 /* map physical adress */ 168 /* map physical address */
169 sharpsl_io_base = ioremap(sharpsl_phys_base, 0x1000); 169 sharpsl_io_base = ioremap(sharpsl_phys_base, 0x1000);
170 if (!sharpsl_io_base) { 170 if (!sharpsl_io_base) {
171 printk("ioremap to access Sharp SL NAND chip failed\n"); 171 printk("ioremap to access Sharp SL NAND chip failed\n");