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)
commitb172fd0c898022c47161a99cb40be5304b0d3fd0
tree5f525f07915c2f10955cd5286b125cff6821f952
parent797622d7a3ab5192ff575288bdbec15c3a006280
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]