Skip to content

Commit f43272c

Browse files
Sandeep PaulrajDavid Woodhouse
authored andcommitted
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 <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
1 parent 4332c11 commit f43272c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/mtd/nand/davinci_nand.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
#include <mach/nand.h>
3838
#include <mach/aemif.h>
3939

40-
#include <asm/mach-types.h>
41-
42-
4340
/*
4441
* This is a device driver for the NAND flash controller found on the
4542
* various DaVinci family chips. It handles up to four SoC chipselects,

0 commit comments

Comments
 (0)