#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"
add_mtd_device(info->mtd);
return 0;
- err_out:
+err_out:
ar91xx_flash_remove(pdev);
return err;
}
return 0;
- fail:
+fail:
if (info->mtd->suspend) {
BUG_ON(!info->mtd->resume);
info->mtd->resume(info->mtd);