diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-01-11 15:21:13 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-01-11 15:33:47 +0100 |
commit | 4ce3c416965e1d08728833cc7d074688041c163e (patch) | |
tree | c3ea41e8b161a17a852f2c91a1f6311132cdf39d /target/linux/bcm53xx/patches-4.4/820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch | |
parent | 2e1f6f1682d3974d8ea52310e460f1bbe470390f (diff) | |
download | upstream-4ce3c416965e1d08728833cc7d074688041c163e.tar.gz upstream-4ce3c416965e1d08728833cc7d074688041c163e.tar.bz2 upstream-4ce3c416965e1d08728833cc7d074688041c163e.zip |
bcm53xx: backport upstream bcm53xx spi driver changes
One replaces our local patch and another is just for keeping driver in
sync (license change).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-4.4/820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch b/target/linux/bcm53xx/patches-4.4/820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch deleted file mode 100644 index c60eb1954a..0000000000 --- a/target/linux/bcm53xx/patches-4.4/820-spi-bcm53xx-let-DT-specify-SPI-device-s-instead-hard.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com> -Subject: [PATCH] spi: bcm53xx: let DT specify SPI device(s) instead hardcoding - them -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Rafał Miłecki <zajec5@gmail.com> ---- - ---- a/drivers/spi/spi-bcm53xx.c -+++ b/drivers/spi/spi-bcm53xx.c -@@ -275,10 +275,6 @@ static int bcm53xxspi_flash_read(struct - * BCMA - **************************************************/ - --static struct spi_board_info bcm53xx_info = { -- .modalias = "bcm53xxspiflash", --}; -- - static const struct bcma_device_id bcm53xxspi_bcma_tbl[] = { - BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_NS_QSPI, BCMA_ANY_REV, BCMA_ANY_CLASS), - {}, -@@ -300,6 +296,7 @@ static int bcm53xxspi_bcma_probe(struct - master = spi_alloc_master(dev, sizeof(*b53spi)); - if (!master) - return -ENOMEM; -+ master->dev.of_node = dev->of_node; - - b53spi = spi_master_get_devdata(master); - b53spi->master = master; -@@ -324,9 +321,6 @@ static int bcm53xxspi_bcma_probe(struct - return err; - } - -- /* Broadcom SoCs (at least with the CC rev 42) use SPI for flash only */ -- spi_new_device(master, &bcm53xx_info); -- - return 0; - } - |