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>
Showing
- arch/mips/ath79/dev-spi.h 1 addition, 1 deletionarch/mips/ath79/dev-spi.h
- drivers/spi/Kconfig 1 addition, 1 deletiondrivers/spi/Kconfig
- drivers/spi/spi-ath79.c 12 additions, 3 deletionsdrivers/spi/spi-ath79.c
- include/linux/platform_data/spi-ath79.h 0 additions, 0 deletionsinclude/linux/platform_data/spi-ath79.h
Loading
Please register or sign in to comment