aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/au1550nd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
-rw-r--r--drivers/mtd/nand/au1550nd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c
index de190b8f8a10..58c55db504e2 100644
--- a/drivers/mtd/nand/au1550nd.c
+++ b/drivers/mtd/nand/au1550nd.c
@@ -538,7 +538,7 @@ static int __init au1xxx_nand_init(void)
538 } 538 }
539 nand_phys = (mem_staddr << 4) & 0xFFFC0000; 539 nand_phys = (mem_staddr << 4) & 0xFFFC0000;
540 540
541 p_nand = (void __iomem *)ioremap(nand_phys, 0x1000); 541 p_nand = ioremap(nand_phys, 0x1000);
542 542
543 /* make controller and MTD agree */ 543 /* make controller and MTD agree */
544 if (NAND_CS == 0) 544 if (NAND_CS == 0)
@@ -583,7 +583,7 @@ static int __init au1xxx_nand_init(void)
583 return 0; 583 return 0;
584 584
585 outio: 585 outio:
586 iounmap((void *)p_nand); 586 iounmap(p_nand);
587 587
588 outmem: 588 outmem:
589 kfree(au1550_mtd); 589 kfree(au1550_mtd);
@@ -604,7 +604,7 @@ static void __exit au1550_cleanup(void)
604 kfree(au1550_mtd); 604 kfree(au1550_mtd);
605 605
606 /* Unmap */ 606 /* Unmap */
607 iounmap((void *)p_nand); 607 iounmap(p_nand);
608} 608}
609 609
610module_exit(au1550_cleanup); 610module_exit(au1550_cleanup);