diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:32:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:32:00 +0000 |
commit | 50ea829fb374acd5e55c9955656eb127ad89364f (patch) | |
tree | 0ebbb05efe6bed0f458ca177020786933cf1a169 /target/linux/brcm2708/patches-4.1/0159-spi-bcm2835-fixed-compile-issues-due-to-embedded-com.patch | |
parent | 6db53dd444c820146d176ce4e0310a0333ed0831 (diff) | |
download | master-187ad058-50ea829fb374acd5e55c9955656eb127ad89364f.tar.gz master-187ad058-50ea829fb374acd5e55c9955656eb127ad89364f.tar.bz2 master-187ad058-50ea829fb374acd5e55c9955656eb127ad89364f.zip |
brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46853 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0159-spi-bcm2835-fixed-compile-issues-due-to-embedded-com.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0159-spi-bcm2835-fixed-compile-issues-due-to-embedded-com.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0159-spi-bcm2835-fixed-compile-issues-due-to-embedded-com.patch b/target/linux/brcm2708/patches-4.1/0159-spi-bcm2835-fixed-compile-issues-due-to-embedded-com.patch new file mode 100644 index 0000000000..6f5cee2aa5 --- /dev/null +++ b/target/linux/brcm2708/patches-4.1/0159-spi-bcm2835-fixed-compile-issues-due-to-embedded-com.patch @@ -0,0 +1,29 @@ +From c36a53b3df68f0311b808f87c186b9623a28ecd9 Mon Sep 17 00:00:00 2001 +From: Martin Sperl <kernel@martin.sperl.org> +Date: Wed, 22 Jul 2015 07:43:28 +0000 +Subject: [PATCH 159/171] spi: bcm2835: fixed compile issues due to embedded + comments... replaced with #if to avoid issues in the future. + +Signed-off-by: Martin Sperl <kernel@martin.sperl.org> +--- + drivers/spi/spi-bcm2835.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/drivers/spi/spi-bcm2835.c ++++ b/drivers/spi/spi-bcm2835.c +@@ -592,6 +592,7 @@ static int bcm2835_spi_transfer_one(stru + return bcm2835_spi_transfer_one_irq(master, spi, tfr, cs); + } + ++#if 0 + static void bcm2835_spi_handle_err(struct spi_master *master, + struct spi_message *msg) + { +@@ -606,6 +607,7 @@ static void bcm2835_spi_handle_err(struc + /* and reset */ + bcm2835_spi_reset_hw(master); + } ++#endif + + static void bcm2835_spi_set_cs(struct spi_device *spi, bool gpio_level) + { |