Commit f43272c4 authored by Sandeep Paulraj's avatar Sandeep Paulraj Committed by David Woodhouse

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: default avatarSandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 4332c116
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#include <mach/nand.h> #include <mach/nand.h>
#include <mach/aemif.h> #include <mach/aemif.h>
#include <asm/mach-types.h>
/* /*
* This is a device driver for the NAND flash controller found on the * This is a device driver for the NAND flash controller found on the
* various DaVinci family chips. It handles up to four SoC chipselects, * various DaVinci family chips. It handles up to four SoC chipselects,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment