brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.10 / 900-spi-bcm63xx-hsspi-make-it-compile-with-3.10.patch
1 From 69c15bfd4b9b78ab8f0dd9a2c0902bcc5d4f02e4 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Sun, 1 Dec 2013 13:07:35 +0100
4 Subject: [PATCH] spi/bcm63xx-hsspi: make it compile with 3.10
5
6 ---
7 drivers/spi/spi-bcm63xx-hsspi.c | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
9
10 --- a/drivers/spi/spi-bcm63xx-hsspi.c
11 +++ b/drivers/spi/spi-bcm63xx-hsspi.c
12 @@ -375,8 +375,7 @@ static int bcm63xx_hsspi_probe(struct pl
13 master->setup = bcm63xx_hsspi_setup;
14 master->transfer_one_message = bcm63xx_hsspi_transfer_one;
15 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
16 - master->bits_per_word_mask = SPI_BPW_MASK(8);
17 - master->auto_runtime_pm = true;
18 + master->bits_per_word_mask = BIT(8 - 1);
19
20 platform_set_drvdata(pdev, master);
21