Skip to content

Commit

Permalink
[MTD] [NAND] OMAP: OneNAND: header file relocation (part 2)
Browse files Browse the repository at this point in the history
Include <linux/dma-mapping.h> and <linux/io.h>, not files from <asm/*>

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Adrian Hunter authored and David Woodhouse committed Nov 26, 2008
1 parent fe87535 commit cbbd695
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/mtd/onenand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>

#include <asm/io.h>
#include <asm/mach/flash.h>
#include <mach/gpmc.h>
#include <mach/onenand.h>
#include <mach/gpio.h>
#include <mach/pm.h>

#include <linux/dma-mapping.h>
#include <asm/dma-mapping.h>
#include <mach/dma.h>

#include <mach/board.h>
Expand Down

0 comments on commit cbbd695

Please sign in to comment.