diff options
author | Paul Mackerras <paulus@samba.org> | 2007-12-10 04:41:22 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 04:41:22 (GMT) |
commit | b242a60206881559bb3102110048762422e6b74e (patch) | |
tree | 86459efa47b9c3f69d865b4495beede9c4184003 /drivers/spi/at25.c | |
parent | e1fd18656c2963e383d67b7006c0e06c9c1d9c79 (diff) | |
parent | 94545baded0bfbabdc30a3a4cb48b3db479dd6ef (diff) | |
download | linux-fsl-qoriq-b242a60206881559bb3102110048762422e6b74e.tar.xz |
Merge branch 'linux-2.6'
Diffstat (limited to 'drivers/spi/at25.c')
-rw-r--r-- | drivers/spi/at25.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/spi/at25.c b/drivers/spi/at25.c index e007833..290dbe9 100644 --- a/drivers/spi/at25.c +++ b/drivers/spi/at25.c @@ -21,6 +21,13 @@ #include <linux/spi/eeprom.h> +/* + * 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; |