summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2010-07-01 14:55:38 +0800
committerJustin Waters <justin.waters@timesys.com>2010-12-17 12:10:42 -0500
commit5cdda14c8fdc2003d8c0f74e07f2b51c17ff8fed (patch)
tree72a3cf95897725c3499acbbb1b0d151d0cd713c2 /drivers
parentd212179fc12c1d75572d574e0dadab6c87c7b941 (diff)
ENGR00124795 SPI NOR: uniform include header file
The default partitions are missing in MX53 SPI NOR MTD. It's because spi nor driver and mx53 msl include different header files. It causes struct definitions are different. For i.MX SPI nor driver, need to use asm/mach/flash.h by aligning with NAND driver. Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/devices/mxc_dataflash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/mxc_dataflash.c b/drivers/mtd/devices/mxc_dataflash.c
index ab75d743a05b..0ed701d6778c 100644
--- a/drivers/mtd/devices/mxc_dataflash.c
+++ b/drivers/mtd/devices/mxc_dataflash.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
* (c) 2005 MontaVista Software, Inc.
*
* This code is based on mtd_dataflash.c by adding FSL spi access.
@@ -22,10 +22,10 @@
#include <linux/err.h>
#include <linux/spi/spi.h>
-#include <linux/spi/flash.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
+#include <asm/mach/flash.h>
/*
* DataFlash is a kind of SPI flash. Most AT45 chips have two buffers in