ar71xx: add 2.6.34 preliminary support (patches)
[openwrt-10.03/.git] / target / linux / ar71xx / patches-2.6.34 / 201-ap83_spi_controller.patch
1 --- a/drivers/spi/Makefile
2 +++ b/drivers/spi/Makefile
3 @@ -11,6 +11,7 @@ endif
4  obj-$(CONFIG_SPI_MASTER)               += spi.o
5  
6  # SPI master controller drivers (bus)
7 +obj-$(CONFIG_SPI_AP83)                 += ap83_spi.o
8  obj-$(CONFIG_SPI_AR71XX)               += ar71xx_spi.o
9  obj-$(CONFIG_SPI_ATMEL)                        += atmel_spi.o
10  obj-$(CONFIG_SPI_BFIN)                 += spi_bfin5xx.o
11 --- a/drivers/spi/Kconfig
12 +++ b/drivers/spi/Kconfig
13 @@ -53,6 +53,14 @@ if SPI_MASTER
14  
15  comment "SPI Master Controller Drivers"
16  
17 +config SPI_AP83
18 +       tristate "Atheros AP83 specific SPI Controller"
19 +       depends on SPI_MASTER && AR71XX_MACH_AP83
20 +       select SPI_BITBANG
21 +       help
22 +         This is a specific SPI controller driver for the Atheros AP83
23 +         reference board.
24 +
25  config SPI_AR71XX
26         tristate "Atheros AR71xx SPI Controller"
27         depends on SPI_MASTER && ATHEROS_AR71XX