diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-15 06:26:27 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-15 06:26:27 +0000 |
commit | 97dde3b72d502f4a67eb49ea9c8a6b97ebc54946 (patch) | |
tree | 92afabc15b1c26a108f7cf450cd32ab658499ad1 /target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch | |
parent | 7ef75e79cee3753c79d04077d75a3e2a3a46f4bd (diff) | |
download | mtk-20170518-97dde3b72d502f4a67eb49ea9c8a6b97ebc54946.zip mtk-20170518-97dde3b72d502f4a67eb49ea9c8a6b97ebc54946.tar.gz mtk-20170518-97dde3b72d502f4a67eb49ea9c8a6b97ebc54946.tar.bz2 |
update to 2.6.28.5
SVN-Revision: 14512
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch b/target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch index 963b2c8..960e05a 100644 --- a/target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch +++ b/target/linux/generic-2.6/patches-2.6.28/920-00-spi-gpio.patch @@ -4,10 +4,8 @@ Port of the SPI-GPIO driver from 2.6.29-rc4. -Index: linux-2.6.28.2/drivers/spi/spi_gpio.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.28.2/drivers/spi/spi_gpio.c 2009-02-10 17:56:59.000000000 +0100 +--- /dev/null ++++ b/drivers/spi/spi_gpio.c @@ -0,0 +1,360 @@ +/* + * spi_gpio.c - SPI master driver using generic bitbanged GPIO @@ -369,10 +367,8 @@ Index: linux-2.6.28.2/drivers/spi/spi_gpio.c +MODULE_DESCRIPTION("SPI master driver using generic bitbanged GPIO "); +MODULE_AUTHOR("David Brownell"); +MODULE_LICENSE("GPL"); -Index: linux-2.6.28.2/include/linux/spi/spi_gpio.h -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.28.2/include/linux/spi/spi_gpio.h 2009-02-10 17:56:49.000000000 +0100 +--- /dev/null ++++ b/include/linux/spi/spi_gpio.h @@ -0,0 +1,60 @@ +#ifndef __LINUX_SPI_GPIO_H +#define __LINUX_SPI_GPIO_H @@ -434,10 +430,8 @@ Index: linux-2.6.28.2/include/linux/spi/spi_gpio.h +}; + +#endif /* __LINUX_SPI_GPIO_H */ -Index: linux-2.6.28.2/drivers/spi/Kconfig -=================================================================== ---- linux-2.6.28.2.orig/drivers/spi/Kconfig 2009-02-10 17:57:10.000000000 +0100 -+++ linux-2.6.28.2/drivers/spi/Kconfig 2009-02-10 18:08:31.000000000 +0100 +--- a/drivers/spi/Kconfig ++++ b/drivers/spi/Kconfig @@ -100,6 +100,22 @@ config SPI_BUTTERFLY inexpensive battery powered microcontroller evaluation board. This same cable can be used to flash new firmware. @@ -461,10 +455,8 @@ Index: linux-2.6.28.2/drivers/spi/Kconfig config SPI_IMX tristate "Freescale iMX SPI controller" depends on ARCH_IMX && EXPERIMENTAL -Index: linux-2.6.28.2/drivers/spi/Makefile -=================================================================== ---- linux-2.6.28.2.orig/drivers/spi/Makefile 2009-02-10 17:58:46.000000000 +0100 -+++ linux-2.6.28.2/drivers/spi/Makefile 2009-02-10 18:08:31.000000000 +0100 +--- a/drivers/spi/Makefile ++++ b/drivers/spi/Makefile @@ -16,6 +16,7 @@ obj-$(CONFIG_SPI_BFIN) += spi_bfin5xx. obj-$(CONFIG_SPI_BITBANG) += spi_bitbang.o obj-$(CONFIG_SPI_AU1550) += au1550_spi.o |