diff options
author | 2009-10-12 20:24:35 +0400 | |
---|---|---|
committer | 2009-11-30 11:26:08 +0000 | |
commit | b34bc037b26e621e5fc13466767e4da110a7b3d3 (patch) | |
tree | d76ff3b4377ef8d028f1b8a1ec5f30ca78fbda9a /lib/dma-debug.c | |
parent | mtd: make pagetest work (diff) | |
download | linux-dev-b34bc037b26e621e5fc13466767e4da110a7b3d3.tar.xz linux-dev-b34bc037b26e621e5fc13466767e4da110a7b3d3.zip |
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/dma-debug.c')
0 files changed, 0 insertions, 0 deletions