101f28e4045d1855625d0b0a40ad847b8f9d85bf
[openwrt/staging/chunkeey.git] / target / linux / brcm2708 / patches-4.1 / 0163-spi-bcm2835-Fix-buld-error-from-previous-commit.patch
1 From e418efa578dab433bf7e25eaaec809b33351792c Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Tue, 18 Aug 2015 11:50:03 +0100
4 Subject: [PATCH 163/171] spi: bcm2835: Fix buld error from previous commit
5
6 ---
7 drivers/spi/spi-bcm2835.c | 2 --
8 1 file changed, 2 deletions(-)
9
10 --- a/drivers/spi/spi-bcm2835.c
11 +++ b/drivers/spi/spi-bcm2835.c
12 @@ -592,7 +592,6 @@ static int bcm2835_spi_transfer_one(stru
13 return bcm2835_spi_transfer_one_irq(master, spi, tfr, cs);
14 }
15
16 -#if 0
17 static void bcm2835_spi_handle_err(struct spi_master *master,
18 struct spi_message *msg)
19 {
20 @@ -607,7 +606,6 @@ static void bcm2835_spi_handle_err(struc
21 /* and reset */
22 bcm2835_spi_reset_hw(master);
23 }
24 -#endif
25
26 static void bcm2835_spi_set_cs(struct spi_device *spi, bool gpio_level)
27 {