[patch 1/3] mtd: m25p80: convert to device table matching

Andrew Morton akpm at linux-foundation.org
Wed Sep 23 15:51:05 EDT 2009


On Tue, 22 Sep 2009 16:53:01 -0700
akpm at linux-foundation.org wrote:

> Convert 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).

OK, I am now officially fed up with fixing the tremendous reject which
this patch tosses each time someone fiddles with the device table in
drivers/mtd/devices/m25p80.c (which seems to happen at about 38Hz).

I sent it and now I'll drop it.  Sorry.



More information about the linux-mtd mailing list