[PATCH] plat_ram: call mtd_device_register only if partition data exists
Artem Bityutskiy
dedekind1 at gmail.com
Sat Dec 17 10:31:42 EST 2011
On Tue, 2011-12-13 at 00:37 +0100, Ilya Yanok wrote:
> mtd_device_parse_register() registers the device as a whole if no
> partition data is passed so there is no reason to call
> mtd_device_register() after that.
>
> Signed-off-by: Ilya Yanok <yanok at emcraft.com>
This seems to be a bug-fix, right? What happens without this patch?
We end up with 2 MTD equivalent MTD devices?
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111217/11bb46b6/attachment-0001.sig>
More information about the linux-mtd
mailing list