[PATCH 02/62] mtd: introduce mtd_device_(un)register()

Mike Frysinger vapier.adi at gmail.com
Mon May 23 18:55:49 EDT 2011


On Mon, May 23, 2011 at 05:22, Jamie Iles wrote:
> To prepare for the removal of add_mtd_device and add_mtd_partitions(),
> introduce mtd_device_register().  This will create partitions if they
> are supplied or register the whole device if there are no partitions.
>
> Once all drivers are converted to use mtd_device_register(),
> add_mtd_device() and add_mtd_partitions() will be made internal only.

i vaguely recall attempting to submit new functions like this a while
ago, but ultimately it was rejected due to the different behavior mtd
drivers had wrt partitions and whole devices
-mike



More information about the linux-mtd mailing list