From 898e76c938eb169fd19733d4e4c44ba26c6dbd87 Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Thu, 26 Sep 2013 16:00:15 +0530 Subject: [PATCH] sf: Rename spi_flash files Renamed: spi_flash.c -> sf.c spi_flash_internal.h -> sf_internal.h spi_flash_ops.c -> sf_ops.c spi_flash_probe.c -> sf_probe.c Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/Makefile | 4 ++-- drivers/mtd/spi/{spi_flash.c => sf.c} | 0 drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} | 0 drivers/mtd/spi/{spi_flash_ops.c => sf_ops.c} | 2 +- drivers/mtd/spi/{spi_flash_probe.c => sf_probe.c} | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename drivers/mtd/spi/{spi_flash.c => sf.c} (100%) rename drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} (100%) rename drivers/mtd/spi/{spi_flash_ops.c => sf_ops.c} (99%) rename drivers/mtd/spi/{spi_flash_probe.c => sf_probe.c} (99%) diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile index 0fa867db4c..86ffc59d03 100644 --- a/drivers/mtd/spi/Makefile +++ b/drivers/mtd/spi/Makefile @@ -15,9 +15,9 @@ COBJS-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o endif ifdef CONFIG_CMD_SF -COBJS-y += spi_flash.o +COBJS-y += sf.o endif -COBJS-$(CONFIG_SPI_FLASH) += spi_flash_probe.o spi_flash_ops.o +COBJS-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o COBJS-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o COBJS-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/sf.c similarity index 100% rename from drivers/mtd/spi/spi_flash.c rename to drivers/mtd/spi/sf.c diff --git a/drivers/mtd/spi/spi_flash_internal.h b/drivers/mtd/spi/sf_internal.h similarity index 100% rename from drivers/mtd/spi/spi_flash_internal.h rename to drivers/mtd/spi/sf_internal.h diff --git a/drivers/mtd/spi/spi_flash_ops.c b/drivers/mtd/spi/sf_ops.c similarity index 99% rename from drivers/mtd/spi/spi_flash_ops.c rename to drivers/mtd/spi/sf_ops.c index 882c8f5f5c..c009af5c20 100644 --- a/drivers/mtd/spi/spi_flash_ops.c +++ b/drivers/mtd/spi/sf_ops.c @@ -13,7 +13,7 @@ #include #include -#include "spi_flash_internal.h" +#include "sf_internal.h" static void spi_flash_addr(u32 addr, u8 *cmd) { diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/sf_probe.c similarity index 99% rename from drivers/mtd/spi/spi_flash_probe.c rename to drivers/mtd/spi/sf_probe.c index e9fd013234..8f56c63bf1 100644 --- a/drivers/mtd/spi/spi_flash_probe.c +++ b/drivers/mtd/spi/sf_probe.c @@ -14,7 +14,7 @@ #include #include -#include "spi_flash_internal.h" +#include "sf_internal.h" DECLARE_GLOBAL_DATA_PTR; -- 2.25.1