brcm2708: rename target to bcm27xx
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-4.19 / 950-0164-Fix-warning-in-bcm2835-smi-nand.patch
1 From 2f4524681c940887bc1e7d98b960719c731c85df Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 12 Nov 2018 22:56:35 +0000
4 Subject: [PATCH] Fix warning in bcm2835-smi-nand
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
7 ---
8 drivers/mtd/nand/raw/bcm2835_smi_nand.c | 2 --
9 1 file changed, 2 deletions(-)
10
11 --- a/drivers/mtd/nand/raw/bcm2835_smi_nand.c
12 +++ b/drivers/mtd/nand/raw/bcm2835_smi_nand.c
13 @@ -135,10 +135,8 @@ static int bcm2835_smi_nand_probe(struct
14 struct mtd_info *mtd;
15 struct device *dev = &pdev->dev;
16 struct device_node *node = dev->of_node, *smi_node;
17 - struct mtd_part_parser_data ppdata;
18 struct smi_settings *smi_settings;
19 struct bcm2835_smi_instance *smi_inst;
20 - int ret = -ENXIO;
21
22 if (!node) {
23 dev_err(dev, "No device tree node supplied!");