]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mtd/devices/m25p80.c
mtd: m25p80: Reinstate error print on unrecognized flash
[mv-sheeva.git] / drivers / mtd / devices / m25p80.c
index bf5a002209bdb4603f7ecb811234a8223ea43bf1..80404e1a4d5ec05009ecf1d3236e69ad5c99ddba 100644 (file)
@@ -764,6 +764,7 @@ static const struct spi_device_id *__devinit jedec_probe(struct spi_device *spi)
                        return &m25p_ids[tmp];
                }
        }
+       dev_err(&spi->dev, "unrecognized JEDEC id %06x\n", jedec);
        return ERR_PTR(-ENODEV);
 }