#include <linux/mtd/partitions.h>
#include <asm/io.h>
-#include <asm/hardware.h>
+#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/mach/flash.h>
-#include <asm/arch/tc.h>
+#include <mach/tc.h>
#include <asm/io.h>
-#include <asm/arch/hardware.h>
+#include <mach/hardware.h>
+#include <mach/nand.h>
#define DRIVER_NAME "omapnand"
#endif
struct omap_nand_info {
- struct nand_platform_data *pdata;
+ struct omap_nand_platform_data *pdata;
struct mtd_partition *parts;
struct mtd_info mtd;
struct nand_chip nand;
static int __devinit omap_nand_probe(struct platform_device *pdev)
{
struct omap_nand_info *info;
- struct nand_platform_data *pdata = pdev->dev.platform_data;
+ struct omap_nand_platform_data *pdata = pdev->dev.platform_data;
struct resource *res = pdev->resource;
unsigned long size = res->end - res->start + 1;
int err;