[U-Boot] [PATCH v6 43/76] mtd: Rename sf_dataflash.c to mtd_dataflash.c

Jagan Teki
2016-02-14T20:48:42Z

Since dataflash driver is using mtd_info core
functionalities this patch renames file and
config name similar way as Linux.

Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: York Sun <york.sun@nxp.com>
Cc: Haikun Wang <haikun.wang@freescale.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
---
drivers/mtd/spi-nor/Makefile | 1 +
drivers/mtd/spi-nor/{sf_dataflash.c => mtd_dataflash.c} | 0
2 files changed, 1 insertion(+)
rename drivers/mtd/spi-nor/{sf_dataflash.c => mtd_dataflash.c} (100%)

diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index 4d27811..0f5e3cc 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -16,3 +16,4 @@ obj-$(CONFIG_MTD_DM_SPI_NOR) += spi-nor-probe.o
endif

obj-$(CONFIG_MTD_M25P80) += m25p80.o
+obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
diff --git a/drivers/mtd/spi-nor/sf_dataflash.c b/drivers/mtd/spi-nor/mtd_dataflash.c
similarity index 100%
rename from drivers/mtd/spi-nor/sf_dataflash.c
rename to drivers/mtd/spi-nor/mtd_dataflash.c
--
1.9.1