]> git.baikalelectronics.ru Git - kernel.git/commit
spi: ath79: Enable support for compile test
authorAlban Bedel <albeu@free.fr>
Wed, 16 Jan 2019 18:55:46 +0000 (19:55 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 17 Jan 2019 12:34:47 +0000 (12:34 +0000)
commit8ff60345c2811b563be92eae895788c751a4661e
tree5f525f07915c2f10955cd5286b125cff6821f952
parent6d077db68718233f72588c9223e1f648ea7c3a2f
spi: ath79: Enable support for compile test

To allow building this driver in compile test we need to remove all
dependency on headers from arch/mips/include. To allow this we
explicitly define all the registers locally instead of using
ar71xx_regs.h and we move the platform data struct definition to
include/linux/platform_data/spi-ath79.h.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/mips/ath79/dev-spi.h
arch/mips/include/asm/mach-ath79/ath79_spi_platform.h [deleted file]
drivers/spi/Kconfig
drivers/spi/spi-ath79.c
include/linux/platform_data/spi-ath79.h [new file with mode: 0644]