ar71xx: build ALFA AP96 images with default profile as well
[oweals/openwrt.git] / target / linux / ar71xx / files / drivers / mtd / maps / ar91xx_flash.c
index 7ee831c12de639ec12c4d3f2efd0fe1f0d6c9a28..51ba7f578001daf3ddcd203d2ce9aba05fcad98e 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/io.h>
 
 #include <asm/mach-ar71xx/ar71xx.h>
-#include <asm/mach-ar71xx/platform.h>
+#include <asm/mach-ar71xx/ar91xx_flash.h>
 
 #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);