diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-13 23:41:58 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:48 -0600 |
commit | a666f39e4edc2eb6296d7401aab2706d6ae7f459 (patch) | |
tree | 995f06033f644e458f2c6318779137126465ef88 | |
parent | 49b5d6e6e2efab092b18ed53a850b71a59d3eb78 (diff) | |
download | u-boot-imx-a666f39e4edc2eb6296d7401aab2706d6ae7f459.zip u-boot-imx-a666f39e4edc2eb6296d7401aab2706d6ae7f459.tar.gz u-boot-imx-a666f39e4edc2eb6296d7401aab2706d6ae7f459.tar.bz2 |
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 <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-rw-r--r-- | drivers/spi/Makefile | 2 | ||||
-rw-r--r-- | drivers/spi/soft_spi_legacy.c (renamed from drivers/spi/soft_spi.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index a1de028..5cc8655 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 index c969be3..c969be3 100644 --- a/drivers/spi/soft_spi.c +++ b/drivers/spi/soft_spi_legacy.c |