]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mtd: nand: Move ELM driver and rename as omap_elm
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Sat, 20 Sep 2014 16:53:14 +0000 (17:53 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 22 Sep 2014 18:39:26 +0000 (11:39 -0700)
The ELM driver is only used by the OMAP NAND driver, so let's move it
to the nand/ directory. Additionally, let's rename it to a less confusing
name, so the module is built with a meaningful name, instead of the previous
'elm.ko'.

Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/Makefile
drivers/mtd/nand/Makefile
drivers/mtd/nand/omap_elm.c [moved from drivers/mtd/devices/elm.c with 100% similarity]

index c68868f605883cab2d9507179a8fd0f340565ce9..f0b0e611d1d6a564b460af1f68c965906f629223 100644 (file)
@@ -12,7 +12,6 @@ obj-$(CONFIG_MTD_LART)                += lart.o
 obj-$(CONFIG_MTD_BLOCK2MTD)    += block2mtd.o
 obj-$(CONFIG_MTD_DATAFLASH)    += mtd_dataflash.o
 obj-$(CONFIG_MTD_M25P80)       += m25p80.o
-obj-$(CONFIG_MTD_NAND_OMAP_BCH)        += elm.o
 obj-$(CONFIG_MTD_SPEAR_SMI)    += spear_smi.o
 obj-$(CONFIG_MTD_SST25L)       += sst25l.o
 obj-$(CONFIG_MTD_BCM47XXSFLASH)        += bcm47xxsflash.o
index a035e7cc6d46b7978e6b77a3fc7ebf20d9833db5..b3237b742eb5f95f957100401eac818dd98a84ba 100644 (file)
@@ -27,6 +27,7 @@ obj-$(CONFIG_MTD_NAND_NDFC)           += ndfc.o
 obj-$(CONFIG_MTD_NAND_ATMEL)           += atmel_nand.o
 obj-$(CONFIG_MTD_NAND_GPIO)            += gpio.o
 obj-$(CONFIG_MTD_NAND_OMAP2)           += omap2.o
+obj-$(CONFIG_MTD_NAND_OMAP_BCH)                += omap_elm.o
 obj-$(CONFIG_MTD_NAND_CM_X270)         += cmx270_nand.o
 obj-$(CONFIG_MTD_NAND_PXA3xx)          += pxa3xx_nand.o
 obj-$(CONFIG_MTD_NAND_TMIO)            += tmio_nand.o