Re: [PATCH v2] mtd: unify mtd partition/device registration

From: Atsushi Nemoto
Date: Fri Nov 14 2008 - 09:27:57 EST


On Fri, 14 Nov 2008 07:22:31 -0500, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> Rather than having every map/mtd driver doing the same sequence of
> registering partitions and/or devices, implement common parse_mtd().
>
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> ---
> v2:
> - ifdef parsers in parse_mtd()
> - add "always_whole" to parse_mtd()
> - add unparse_mtd()
>
> drivers/mtd/mtdcore.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++
> include/linux/mtd/mtd.h | 5 ++++
> 2 files changed, 65 insertions(+), 0 deletions(-)

Though not tested yet on real hardware, all patches looks OK for me.
Thanks!

---
Atsushi Nemoto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/