diff options
| author | 2014-09-28 22:36:54 +0200 | |
|---|---|---|
| committer | 2014-09-28 15:27:03 -0700 | |
| commit | 32f1b7c8352fd33d41bcec3cfb054ccdcfd40a42 (patch) | |
| tree | 2d00a33a1d12b52cc13d4be89e4072973d27e771 /lib/cpu-notifier-error-inject.c | |
| parent | mtd: spi-nor: add Kconfig option to disable 4K sectors (diff) | |
| download | wireguard-linux-32f1b7c8352fd33d41bcec3cfb054ccdcfd40a42.tar.xz wireguard-linux-32f1b7c8352fd33d41bcec3cfb054ccdcfd40a42.zip | |
mtd: move support for struct flash_platform_data into m25p80
This "type" seems to be an extra hint for m25p80 about the flash. Some
archs register flash_platform_data with "name" set to "m25p80" and then
with a real flash name set in "type". It seems to be a trick specific
to the m25p80 so let's move it out of spi-nor.
Btw switch to the spi_nor_match_id instead of iterating spi_nor_ids.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
