Skip to content

Commit

Permalink
mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers…
Browse files Browse the repository at this point in the history
…/mtd/nand

omap_elm.h is a generic header used by OMAP ELM driver for all TI platfoms.
Hence this file should be present in generic folder instead of architecture
specific include folder.
Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5

Signed-off-by: Pekon Gupta <[email protected]>
  • Loading branch information
pekongupta authored and Scott Wood committed Mar 4, 2014
1 parent 6aff050 commit 2eda892
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/omap_elm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <asm/io.h>
#include <asm/errno.h>
#include <linux/mtd/omap_gpmc.h>
#include <asm/omap_elm.h>
#include <linux/mtd/omap_elm.h>
#include <asm/arch/hardware.h>

#define ELM_DEFAULT_POLY (0)
Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/nand/omap_gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/bch.h>
#include <linux/compiler.h>
#include <nand.h>
#include <asm/omap_elm.h>
#include <linux/mtd/omap_elm.h>

#define BADBLOCK_MARKER_LENGTH 2
#define SECTOR_BYTES 512
Expand Down
File renamed without changes.

0 comments on commit 2eda892

Please sign in to comment.