From a666f39e4edc2eb6296d7401aab2706d6ae7f459 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 13 Oct 2014 23:41:58 -0600 Subject: [PATCH] dm: spi: Rename soft_spi.c to soft_spi_legacy.c Reserve the 'normal' name for use by driver model, and rename the old driver so that it is clear that it is for 'legacy' drivers only. Signed-off-by: Simon Glass Reviewed-by: Jagannadha Sutradharudu Teki --- drivers/spi/Makefile | 2 +- drivers/spi/{soft_spi.c => soft_spi_legacy.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/spi/{soft_spi.c => soft_spi_legacy.c} (100%) diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index a1de0288de2..5cc8655d136 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -11,6 +11,7 @@ obj-y += spi-uclass.o obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o else obj-y += spi.o +obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o endif obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o @@ -35,7 +36,6 @@ obj-$(CONFIG_MXS_SPI) += mxs_spi.o obj-$(CONFIG_OC_TINY_SPI) += oc_tiny_spi.o obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o -obj-$(CONFIG_SOFT_SPI) += soft_spi.o obj-$(CONFIG_SH_SPI) += sh_spi.o obj-$(CONFIG_SH_QSPI) += sh_qspi.o obj-$(CONFIG_FSL_ESPI) += fsl_espi.o diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi_legacy.c similarity index 100% rename from drivers/spi/soft_spi.c rename to drivers/spi/soft_spi_legacy.c