X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/282cd9f4b252f53fac44c04ee788f06e13be28b5..a08050a04875fcc54de48f3acd84f957385411ae:/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c 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 7ee831c12..51ba7f578 100644 --- a/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c +++ b/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c @@ -22,7 +22,7 @@ #include #include -#include +#include #define DRV_NAME "ar91xx-flash" @@ -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);