mtd: DaVinci: Removed header file that is not required
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Mar 11 10:59:07 EST 2011
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f43272c482661bc88347bba237976eecfc1dbf5b
Commit: f43272c482661bc88347bba237976eecfc1dbf5b
Parent: 4332c116869ceca58638beabd9e9a5d7db4cef83
Author: Sandeep Paulraj <s-paulraj at ti.com>
AuthorDate: Mon Mar 7 13:50:44 2011 -0500
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Mar 11 14:23:36 2011 +0000
mtd: DaVinci: Removed header file that is not required
The DaVinci NAND driver was including the mach-types.h header
file.
This prevented the DaVinci NAND driver from getting used
in a DSP only device. The linux port on c6x devices can make
use of the same driver and does not define a corresponding
header file.
This header file was required in the driver because earlier there was code
dependent on a machine_* check. This piece of code has now been factored out
and is in arch/arm/mach-davinci/aemif.c
Thus removing the header file is harmless
Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/davinci_nand.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index a90fde3..aff3468 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -37,9 +37,6 @@
#include <mach/nand.h>
#include <mach/aemif.h>
-#include <asm/mach-types.h>
-
-
/*
* This is a device driver for the NAND flash controller found on the
* various DaVinci family chips. It handles up to four SoC chipselects,
More information about the linux-mtd-cvs
mailing list