|
@@ -22,7 +22,7 @@ Signed-off-by: John Crispin <[email protected]>
|
|
|
|
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/partitions.h>
|
|
#include <linux/mtd/partitions.h>
|
|
-@@ -198,6 +199,10 @@ static int m25p_probe(struct spi_device
|
|
|
|
|
|
+@@ -200,6 +201,10 @@ static int m25p_probe(struct spi_device
|
|
enum read_mode mode = SPI_NOR_NORMAL;
|
|
enum read_mode mode = SPI_NOR_NORMAL;
|
|
char *flash_name;
|
|
char *flash_name;
|
|
int ret;
|
|
int ret;
|
|
@@ -33,7 +33,7 @@ Signed-off-by: John Crispin <[email protected]>
|
|
|
|
|
|
data = dev_get_platdata(&spi->dev);
|
|
data = dev_get_platdata(&spi->dev);
|
|
|
|
|
|
-@@ -227,6 +232,8 @@ static int m25p_probe(struct spi_device
|
|
|
|
|
|
+@@ -229,6 +234,8 @@ static int m25p_probe(struct spi_device
|
|
|
|
|
|
if (data && data->name)
|
|
if (data && data->name)
|
|
nor->mtd.name = data->name;
|
|
nor->mtd.name = data->name;
|