OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 8... Line 8...
8 drivers/mtd/spi-nor/spi-nor.c | 8 +++++++- 8 drivers/mtd/spi-nor/spi-nor.c | 8 +++++++-
9 1 file changed, 7 insertions(+), 1 deletion(-) 9 1 file changed, 7 insertions(+), 1 deletion(-)
Line 10... Line 10...
10   10  
11 --- a/drivers/mtd/spi-nor/spi-nor.c 11 --- a/drivers/mtd/spi-nor/spi-nor.c
12 +++ b/drivers/mtd/spi-nor/spi-nor.c 12 +++ b/drivers/mtd/spi-nor/spi-nor.c
13 @@ -2663,6 +2663,7 @@ int spi_nor_scan(struct spi_nor *nor, co 13 @@ -2650,6 +2650,7 @@ int spi_nor_scan(struct spi_nor *nor, co
14 struct device *dev = nor->dev; 14 struct device *dev = nor->dev;
15 struct mtd_info *mtd = &nor->mtd; 15 struct mtd_info *mtd = &nor->mtd;
16 struct device_node *np = spi_nor_get_flash_node(nor); 16 struct device_node *np = spi_nor_get_flash_node(nor);
17 + const char __maybe_unused *of_mtd_name = NULL; 17 + const char __maybe_unused *of_mtd_name = NULL;
18 int ret; 18 int ret;
Line 19... Line 19...
19 int i; 19 int i;
20 20
21 @@ -2738,7 +2739,12 @@ int spi_nor_scan(struct spi_nor *nor, co 21 @@ -2725,7 +2726,12 @@ int spi_nor_scan(struct spi_nor *nor, co
Line 22... Line 22...
22 spi_nor_wait_till_ready(nor); 22 spi_nor_wait_till_ready(nor);
23 } 23 }