X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fspi%2Fat25.c;h=290dbe99647a141125a4465170343c51c770ec02;hb=b13ad6f47c172761a3ce06f0fd12d19118b3076c;hp=e007833cca59adfd955b17c7dbcf5adee3b5e3b7;hpb=b4b613fd83853f8c688b3de20ab1a42331257975;p=linux-2.6 diff --git a/drivers/spi/at25.c b/drivers/spi/at25.c index e007833cca..290dbe9964 100644 --- a/drivers/spi/at25.c +++ b/drivers/spi/at25.c @@ -21,6 +21,13 @@ #include +/* + * NOTE: this is an *EEPROM* driver. The vagaries of product naming + * mean that some AT25 products are EEPROMs, and others are FLASH. + * Handle FLASH chips with the drivers/mtd/devices/m25p80.c driver, + * not this one! + */ + struct at25_data { struct spi_device *spi; struct mutex lock;