mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/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 <pekon@ti.com>
master
pekon gupta 11 years ago committed by Scott Wood
parent 6aff050988
commit 2eda892f00
  1. 2
      drivers/mtd/nand/omap_elm.c
  2. 2
      drivers/mtd/nand/omap_gpmc.c
  3. 0
      include/linux/mtd/omap_elm.h

@ -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)

@ -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

Loading…
Cancel
Save