From 14ba941bf14ddb1d6b66a7fdbb583bb000c726c5 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 21 Feb 2013 17:47:15 +0000 Subject: ar71xx: add support for 3.8 Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35728 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../461-spi-add-type-field-to-spi_transfer.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.8/461-spi-add-type-field-to-spi_transfer.patch (limited to 'target/linux/ar71xx/patches-3.8/461-spi-add-type-field-to-spi_transfer.patch') diff --git a/target/linux/ar71xx/patches-3.8/461-spi-add-type-field-to-spi_transfer.patch b/target/linux/ar71xx/patches-3.8/461-spi-add-type-field-to-spi_transfer.patch new file mode 100644 index 000000000..d956499bc --- /dev/null +++ b/target/linux/ar71xx/patches-3.8/461-spi-add-type-field-to-spi_transfer.patch @@ -0,0 +1,23 @@ +--- a/include/linux/spi/spi.h ++++ b/include/linux/spi/spi.h +@@ -409,6 +409,12 @@ extern struct spi_master *spi_busnum_to_ + + /*---------------------------------------------------------------------------*/ + ++enum spi_transfer_type { ++ SPI_TRANSFER_GENERIC = 0, ++ SPI_TRANSFER_FLASH_READ_CMD, ++ SPI_TRANSFER_FLASH_READ_DATA, ++}; ++ + /* + * I/O INTERFACE between SPI controller and protocol drivers + * +@@ -511,6 +517,7 @@ struct spi_transfer { + u8 bits_per_word; + u16 delay_usecs; + u32 speed_hz; ++ enum spi_transfer_type type; + + struct list_head transfer_list; + }; -- cgit v1.2.3