diff options
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd/maps')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c b/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c index 1a55f4a544..51ba7f5780 100644 --- a/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c +++ b/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c @@ -227,7 +227,7 @@ static int ar91xx_flash_probe(struct platform_device *pdev) add_mtd_device(info->mtd); return 0; - err_out: +err_out: ar91xx_flash_remove(pdev); return err; } @@ -246,7 +246,7 @@ static int ar91xx_flash_suspend(struct platform_device *dev, pm_message_t state) return 0; - fail: +fail: if (info->mtd->suspend) { BUG_ON(!info->mtd->resume); info->mtd->resume(info->mtd); |