diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-07 12:40:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-07 12:40:53 +0000 |
commit | e41a0cafff16f2443e587884782172c6d8478771 (patch) | |
tree | 2ab441d85607622857c5d7602918d24312daa7ab /target/linux/ar71xx/patches-3.14/461-spi-add-type-field-to-spi_transfer.patch | |
parent | f75f9606ad6af9f4c62acd45741a7e3880ad7dbb (diff) | |
download | master-31e0f0ae-e41a0cafff16f2443e587884782172c6d8478771.tar.gz master-31e0f0ae-e41a0cafff16f2443e587884782172c6d8478771.tar.bz2 master-31e0f0ae-e41a0cafff16f2443e587884782172c6d8478771.zip |
ar71xx: add linux 3.14 support
Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42038
Diffstat (limited to 'target/linux/ar71xx/patches-3.14/461-spi-add-type-field-to-spi_transfer.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.14/461-spi-add-type-field-to-spi_transfer.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.14/461-spi-add-type-field-to-spi_transfer.patch b/target/linux/ar71xx/patches-3.14/461-spi-add-type-field-to-spi_transfer.patch new file mode 100644 index 0000000000..ac7359b264 --- /dev/null +++ b/target/linux/ar71xx/patches-3.14/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 +@@ -475,6 +475,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 + * +@@ -591,6 +597,7 @@ struct spi_transfer { + u8 bits_per_word; + u16 delay_usecs; + u32 speed_hz; ++ enum spi_transfer_type type; + + struct list_head transfer_list; + }; |