diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-11 04:59:46 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 04:59:46 -0400 |
commit | 701328a7b58d50d8640c21ba5fdf3170b1ddac16 (patch) | |
tree | 99a3fe44310a97e92ad1cb3a01f2ee3f6ed0d59a /drivers/mtd | |
parent | 53e36ada37cb8b01cfbf674580a79edc0bb764c7 (diff) | |
parent | 53a5fbdc2dff55161a206ed1a1385a8fa8055c34 (diff) |
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/maps/physmap.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/cs553x_nand.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c index bc7cc71788bc..d1717763f719 100644 --- a/drivers/mtd/maps/physmap.c +++ b/drivers/mtd/maps/physmap.c | |||
@@ -62,7 +62,7 @@ static int physmap_flash_remove(struct platform_device *dev) | |||
62 | } | 62 | } |
63 | 63 | ||
64 | if (info->map.virt != NULL) | 64 | if (info->map.virt != NULL) |
65 | iounmap((void *)info->map.virt); | 65 | iounmap(info->map.virt); |
66 | 66 | ||
67 | if (info->res != NULL) { | 67 | if (info->res != NULL) { |
68 | release_resource(info->res); | 68 | release_resource(info->res); |
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c index e0a1d386e581..94924d52a9b9 100644 --- a/drivers/mtd/nand/cs553x_nand.c +++ b/drivers/mtd/nand/cs553x_nand.c | |||
@@ -249,7 +249,7 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr) | |||
249 | goto out; | 249 | goto out; |
250 | 250 | ||
251 | out_ior: | 251 | out_ior: |
252 | iounmap((void *)this->IO_ADDR_R); | 252 | iounmap(this->IO_ADDR_R); |
253 | out_mtd: | 253 | out_mtd: |
254 | kfree(new_mtd); | 254 | kfree(new_mtd); |
255 | out: | 255 | out: |