OpenWrt
/branches/18.06.1/target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch |
@@ -10,7 +10,7 @@ |
|
--- a/drivers/mtd/spi-nor/spi-nor.c |
+++ b/drivers/mtd/spi-nor/spi-nor.c |
@@ -2663,6 +2663,7 @@ int spi_nor_scan(struct spi_nor *nor, co |
@@ -2650,6 +2650,7 @@ int spi_nor_scan(struct spi_nor *nor, co |
struct device *dev = nor->dev; |
struct mtd_info *mtd = &nor->mtd; |
struct device_node *np = spi_nor_get_flash_node(nor); |
@@ -18,7 +18,7 @@ |
int ret; |
int i; |
|
@@ -2738,7 +2739,12 @@ int spi_nor_scan(struct spi_nor *nor, co |
@@ -2725,7 +2726,12 @@ int spi_nor_scan(struct spi_nor *nor, co |
spi_nor_wait_till_ready(nor); |
} |
|