linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
[openwrt.git] / target / linux / ar71xx / patches-2.6.36 / 152-rb4xx-spi-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -259,6 +259,12 @@ config SPI_PXA2XX
4           The driver can be configured to use any SSP port and additional
5           documentation can be found a Documentation/spi/pxa2xx.
6  
7 +config SPI_RB4XX
8 +       tristate "Mikrotik RB4XX SPI master"
9 +       depends on SPI_MASTER && AR71XX_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_S3C2410 && EXPERIMENTAL
16 --- a/drivers/spi/Makefile
17 +++ b/drivers/spi/Makefile
18 @@ -49,6 +49,7 @@ obj-$(CONFIG_SPI_SH_SCI)              += spi_sh_sci.
19  obj-$(CONFIG_SPI_SH_MSIOF)             += spi_sh_msiof.o
20  obj-$(CONFIG_SPI_STMP3XXX)             += spi_stmp.o
21  obj-$(CONFIG_SPI_NUC900)               += spi_nuc900.o
22 +obj-$(CONFIG_SPI_RB4XX)                        += rb4xx_spi.o
23  
24  # special build for s3c24xx spi driver with fiq support
25  spi_s3c24xx_hw-y                       := spi_s3c24xx.o