X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c5552ad03973839d83d32d7108f20c00f192633b..9de5c06f89388ac423e517df31d3fdd83f306097:/target/linux/generic/patches-2.6.35/921-gpio_spi_driver.patch?ds=sidebyside diff --git a/target/linux/generic/patches-2.6.35/921-gpio_spi_driver.patch b/target/linux/generic/patches-2.6.35/921-gpio_spi_driver.patch index 65f17b49e..3ff575e69 100644 --- a/target/linux/generic/patches-2.6.35/921-gpio_spi_driver.patch +++ b/target/linux/generic/patches-2.6.35/921-gpio_spi_driver.patch @@ -162,7 +162,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29. + } while (0) + +#define EXPAND_BITBANG_TXRX -+#include ++#include "spi_bitbang_txrx.h" + +static u32 spi_gpio_txrx_mode0(struct spi_device *spi, + unsigned nsecs, u32 word, u8 bits) @@ -338,7 +338,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29. +MODULE_LICENSE("GPL v2"); --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig -@@ -133,6 +133,15 @@ config SPI_GPIO +@@ -143,6 +143,15 @@ config SPI_GPIO GPIO operations, you should be able to leverage that for better speed with a custom version of this driver; see the source code. @@ -356,9 +356,9 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29. depends on ARCH_MXC --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile -@@ -22,6 +22,7 @@ obj-$(CONFIG_SPI_DESIGNWARE) += dw_spi. - obj-$(CONFIG_SPI_DW_PCI) += dw_spi_pci.o +@@ -23,6 +23,7 @@ obj-$(CONFIG_SPI_DW_PCI) += dw_spi_pci. obj-$(CONFIG_SPI_DW_MMIO) += dw_spi_mmio.o + obj-$(CONFIG_SPI_EP93XX) += ep93xx_spi.o obj-$(CONFIG_SPI_GPIO) += spi_gpio.o +obj-$(CONFIG_SPI_GPIO_OLD) += spi_gpio_old.o obj-$(CONFIG_SPI_IMX) += spi_imx.o