ar71xx: add 4.1 support
[openwrt.git] / target / linux / ar71xx / patches-4.1 / 432-spi-rb4xx-spi-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -433,6 +433,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  
7 +config SPI_RB4XX
8 +       tristate "Mikrotik RB4XX SPI master"
9 +       depends on SPI_MASTER && ATH79_MACH_RB4XX
10 +       help
11 +         SPI controller driver for the Mikrotik RB4xx series boards.
12 +
13  config SPI_S3C24XX
14         tristate "Samsung S3C24XX series SPI"
15         depends on ARCH_S3C24XX
16 --- a/drivers/spi/Makefile
17 +++ b/drivers/spi/Makefile
18 @@ -62,6 +62,7 @@ spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_
19  spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_DMA)   += spi-pxa2xx-dma.o
20  obj-$(CONFIG_SPI_PXA2XX)               += spi-pxa2xx-platform.o
21  obj-$(CONFIG_SPI_PXA2XX_PCI)           += spi-pxa2xx-pci.o
22 +obj-$(CONFIG_SPI_RB4XX)                        += spi-rb4xx.o
23  obj-$(CONFIG_SPI_QUP)                  += spi-qup.o
24  obj-$(CONFIG_SPI_ROCKCHIP)             += spi-rockchip.o
25  obj-$(CONFIG_SPI_RSPI)                 += spi-rspi.o