summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Makefile
diff options
context:
space:
mode:
authorMatthew Gerlach <matthew.gerlach@linux.intel.com>2021-04-16 09:57:19 -0700
committerMark Brown <broonie@kernel.org>2021-04-20 17:26:40 +0100
commitb0c3d9354de1f87eebc00694d5218b6611265933 (patch)
treefcd1cf992774191604f341b0d19accd9527add55 /drivers/spi/Makefile
parent1b8a7d4282c038b3846f2485d86cb990c55c38d9 (diff)
downloadlinux-stable-b0c3d9354de1f87eebc00694d5218b6611265933.tar.gz
linux-stable-b0c3d9354de1f87eebc00694d5218b6611265933.tar.bz2
linux-stable-b0c3d9354de1f87eebc00694d5218b6611265933.zip
spi: altera: separate core code from platform code
In preparation of adding support for a new bus type, separate the core spi-altera code from the platform driver code. Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com> Link: https://lore.kernel.org/r/20210416165720.554144-2-matthew.gerlach@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Makefile')
-rw-r--r--drivers/spi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 29fee71022b4..e6be348ca207 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -14,7 +14,8 @@ obj-$(CONFIG_SPI_SPIDEV) += spidev.o
obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o
# SPI master controller drivers (bus)
-obj-$(CONFIG_SPI_ALTERA) += spi-altera.o
+obj-$(CONFIG_SPI_ALTERA) += spi-altera-platform.o
+obj-$(CONFIG_SPI_ALTERA_CORE) += spi-altera-core.o
obj-$(CONFIG_SPI_AR934X) += spi-ar934x.o
obj-$(CONFIG_SPI_ARMADA_3700) += spi-armada-3700.o
obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o