432-spi-rb4xx-spi-driver.patch 895 B

12345678910111213141516171819202122232425
  1. --- a/drivers/spi/Kconfig
  2. +++ b/drivers/spi/Kconfig
  3. @@ -477,6 +477,12 @@ config SPI_QUP
  4. This driver can also be built as a module. If so, the module
  5. will be called spi_qup.
  6. +config SPI_RB4XX
  7. + tristate "Mikrotik RB4XX SPI master"
  8. + depends on SPI_MASTER && ATH79_MACH_RB4XX
  9. + help
  10. + SPI controller driver for the Mikrotik RB4xx series boards.
  11. +
  12. config SPI_S3C24XX
  13. tristate "Samsung S3C24XX series SPI"
  14. depends on ARCH_S3C24XX
  15. --- a/drivers/spi/Makefile
  16. +++ b/drivers/spi/Makefile
  17. @@ -66,6 +66,7 @@ spi-pxa2xx-platform-objs := spi-pxa2xx.
  18. spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_DMA) += spi-pxa2xx-dma.o
  19. obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx-platform.o
  20. obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o
  21. +obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
  22. obj-$(CONFIG_SPI_QUP) += spi-qup.o
  23. obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o
  24. obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o