refresh generic 2.6.25 patches to match upstream style
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 921-gpio_spi_driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -100,6 +100,11 @@
4           inexpensive battery powered microcontroller evaluation board.
5           This same cable can be used to flash new firmware.
6  
7 +config SPI_GPIO
8 +       tristate "GPIO API based bitbanging SPI controller"
9 +       depends on SPI_MASTER && GENERIC_GPIO && EXPERIMENTAL
10 +       select SPI_BITBANG
11 +
12  config SPI_IMX
13         tristate "Freescale iMX SPI controller"
14         depends on SPI_MASTER && ARCH_IMX && EXPERIMENTAL
15 --- a/drivers/spi/Makefile
16 +++ b/drivers/spi/Makefile
17 @@ -16,6 +16,7 @@
18  obj-$(CONFIG_SPI_BITBANG)              += spi_bitbang.o
19  obj-$(CONFIG_SPI_AU1550)               += au1550_spi.o
20  obj-$(CONFIG_SPI_BUTTERFLY)            += spi_butterfly.o
21 +obj-$(CONFIG_SPI_GPIO)                 += spi_gpio.o
22  obj-$(CONFIG_SPI_IMX)                  += spi_imx.o
23  obj-$(CONFIG_SPI_LM70_LLP)             += spi_lm70llp.o
24  obj-$(CONFIG_SPI_PXA2XX)               += pxa2xx_spi.o