diff options
Diffstat (limited to 'Documentation/DocBook')
| -rw-r--r-- | Documentation/DocBook/Makefile | 2 | ||||
| -rw-r--r-- | Documentation/DocBook/mtdnand.tmpl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 1a7f53068ec2..054a7ecf64c6 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
| @@ -165,7 +165,7 @@ quiet_cmd_db2man = MAN $@ | |||
| 165 | @touch $@ | 165 | @touch $@ |
| 166 | 166 | ||
| 167 | ### | 167 | ### |
| 168 | # Rules to generate postscripts and PNG imgages from .fig format files | 168 | # Rules to generate postscripts and PNG images from .fig format files |
| 169 | quiet_cmd_fig2eps = FIG2EPS $@ | 169 | quiet_cmd_fig2eps = FIG2EPS $@ |
| 170 | cmd_fig2eps = fig2dev -Leps $< $@ | 170 | cmd_fig2eps = fig2dev -Leps $< $@ |
| 171 | 171 | ||
diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl index 6fbc41d98c1e..957cf5c26831 100644 --- a/Documentation/DocBook/mtdnand.tmpl +++ b/Documentation/DocBook/mtdnand.tmpl | |||
| @@ -282,7 +282,7 @@ int __init board_init (void) | |||
| 282 | goto out; | 282 | goto out; |
| 283 | } | 283 | } |
| 284 | 284 | ||
| 285 | /* map physical adress */ | 285 | /* map physical address */ |
| 286 | baseaddr = (unsigned long)ioremap(CHIP_PHYSICAL_ADDRESS, 1024); | 286 | baseaddr = (unsigned long)ioremap(CHIP_PHYSICAL_ADDRESS, 1024); |
| 287 | if(!baseaddr){ | 287 | if(!baseaddr){ |
| 288 | printk("Ioremap to access NAND chip failed\n"); | 288 | printk("Ioremap to access NAND chip failed\n"); |
| @@ -306,7 +306,7 @@ int __init board_init (void) | |||
| 306 | this->dev_ready = board_dev_ready; | 306 | this->dev_ready = board_dev_ready; |
| 307 | this->eccmode = NAND_ECC_SOFT; | 307 | this->eccmode = NAND_ECC_SOFT; |
| 308 | 308 | ||
| 309 | /* Scan to find existance of the device */ | 309 | /* Scan to find existence of the device */ |
| 310 | if (nand_scan (board_mtd, 1)) { | 310 | if (nand_scan (board_mtd, 1)) { |
| 311 | err = -ENXIO; | 311 | err = -ENXIO; |
| 312 | goto out_ior; | 312 | goto out_ior; |
| @@ -340,7 +340,7 @@ static void __exit board_cleanup (void) | |||
| 340 | /* Release resources, unregister device */ | 340 | /* Release resources, unregister device */ |
| 341 | nand_release (board_mtd); | 341 | nand_release (board_mtd); |
| 342 | 342 | ||
| 343 | /* unmap physical adress */ | 343 | /* unmap physical address */ |
| 344 | iounmap((void *)baseaddr); | 344 | iounmap((void *)baseaddr); |
| 345 | 345 | ||
| 346 | /* Free the MTD device structure */ | 346 | /* Free the MTD device structure */ |
