ramips: properly setup the FEATURES variable
[openwrt.git] / target / linux / ramips / patches-3.7 / 105-ramips-spi-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -317,6 +317,12 @@ config SPI_RSPI
4         help
5           SPI driver for Renesas RSPI blocks.
6  
7 +config SPI_RAMIPS
8 +       tristate "Ralink RT288x/RT305x/RT3662 SPI Controller"
9 +       depends on (SOC_RT288X || SOC_RT305X || SOC_RT3883)
10 +       help
11 +         This selects a driver for the Ralink RT288x/RT305x SPI Controller.
12 +
13  config SPI_S3C24XX
14         tristate "Samsung S3C24XX series SPI"
15         depends on ARCH_S3C24XX && EXPERIMENTAL
16 --- a/drivers/spi/Makefile
17 +++ b/drivers/spi/Makefile
18 @@ -49,6 +49,7 @@ obj-$(CONFIG_SPI_PL022)                       += spi-pl022.o
19  obj-$(CONFIG_SPI_PPC4xx)               += spi-ppc4xx.o
20  obj-$(CONFIG_SPI_PXA2XX)               += spi-pxa2xx.o
21  obj-$(CONFIG_SPI_PXA2XX_PCI)           += spi-pxa2xx-pci.o
22 +obj-$(CONFIG_SPI_RAMIPS)               += spi-ramips.o
23  obj-$(CONFIG_SPI_RSPI)                 += spi-rspi.o
24  obj-$(CONFIG_SPI_S3C24XX)              += spi-s3c24xx-hw.o
25  spi-s3c24xx-hw-y                       := spi-s3c24xx.o