OSDN Git Service

spi: altera: separate core code from platform code
authorMatthew Gerlach <matthew.gerlach@linux.intel.com>
Fri, 16 Apr 2021 16:57:19 +0000 (09:57 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 20 Apr 2021 16:26:40 +0000 (17:26 +0100)
commitb0c3d9354de1f87eebc00694d5218b6611265933
treefcd1cf992774191604f341b0d19accd9527add55
parent1b8a7d4282c038b3846f2485d86cb990c55c38d9
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>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-altera-core.c [moved from drivers/spi/spi-altera.c with 56% similarity]
drivers/spi/spi-altera-platform.c [new file with mode: 0644]
include/linux/spi/altera.h