kernel: fix cryptodev with kernel >= 2.6.35
[openwrt.git] / target / linux / ar71xx / files / drivers / mtd / maps / ar91xx_flash.c
index 7ee831c..51ba7f5 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);
This page took 0.033488 seconds and 4 git commands to generate.