add missing kernel config symbols for 2.6.36
[openwrt/openwrt.git] / target / linux / ar71xx / patches-2.6.35 / 153-spi-rb4xx-cpld-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -401,6 +401,13 @@ config SPI_TLE62X0
4 sysfs interface, with each line presented as a kind of GPIO
5 exposing both switch control and diagnostic feedback.
6
7 +config SPI_RB4XX_CPLD
8 + tristate "MikroTik RB4XX CPLD driver"
9 + depends on AR71XX_MACH_RB4XX
10 + help
11 + SPI driver for the Xilinx CPLD chip present on the
12 + MikroTik RB4xx boards.
13 +
14 #
15 # Add new SPI protocol masters in alphabetical order above this line
16 #
17 --- a/drivers/spi/Makefile
18 +++ b/drivers/spi/Makefile
19 @@ -58,6 +58,7 @@ spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ)
20 # ... add above this line ...
21
22 # SPI protocol drivers (device/link on bus)
23 +obj-$(CONFIG_SPI_RB4XX_CPLD) += spi_rb4xx_cpld.o
24 obj-$(CONFIG_SPI_SPIDEV) += spidev.o
25 obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o
26 # ... add above this line ...