]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MTD: small physmap_of partition parsing fixes
authorValentine Barshak <vbarshak@ru.mvista.com>
Mon, 29 Oct 2007 20:29:02 +0000 (23:29 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 30 Oct 2007 12:54:39 +0000 (08:54 -0400)
commit4edaf56e0f8a6f71e3361bf74e3dc835811761e6
treea0ba7f93a4d6f787462ba95debe0353b77277151
parenta25b7fee537ab4dbc6eb301bd455ee8d01b707f6
MTD: small physmap_of partition parsing fixes

Use of_get_next_child for proper ref counting as suggested by Stephen Rothwell
and remove add_mtd_partitions from parse_partitions to avoid duplicate
mtd device registration for RedBoot partitions.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Heckled-for-on-IRC-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/physmap_of.c