diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-10-12 12:24:35 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-30 06:26:08 -0500 |
commit | b34bc037b26e621e5fc13466767e4da110a7b3d3 (patch) | |
tree | d76ff3b4377ef8d028f1b8a1ec5f30ca78fbda9a /lib/argv_split.c | |
parent | 4c2b8a62bb0e35f2db0f713b4101b265be7fa985 (diff) |
mtd: m25p80: Convert to device table matching
This patch converts the m25p80 driver so that now it uses .id_table
for device matching, making it properly detect devices on OpenFirmware
platforms (prior to this patch the driver misdetected non-JEDEC chips,
seeing all chips as "m25p80").
Also, now jedec_probe() only does jedec probing, nothing else. If it
is not able to detect a chip, NULL is returned and the driver fall
backs to the information specified by the platform (platform_data, or
exact ID).
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions