MIPS: BCM63XX: use the new bcm63xxpart parser

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Jan 9 13:59:07 EST 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f4aa7adb8b11ae48b36474829b6debac7ed5ddd7
Commit:     f4aa7adb8b11ae48b36474829b6debac7ed5ddd7
Parent:     529688fed64a7759323cbd170754c61aad0dd48b
Author:     Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Mon Dec 5 16:08:10 2011 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Jan 9 18:16:25 2012 +0000

    MIPS: BCM63XX: use the new bcm63xxpart parser
    
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
    Acked-by: Florian Fainelli <florian at openwrt.org>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 arch/mips/bcm63xx/boards/board_bcm963xx.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 40b223b..c223854 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -834,10 +834,13 @@ static struct mtd_partition mtd_partitions[] = {
 	}
 };
 
+static const char *bcm63xx_part_types[] = { "bcm63xxpart", NULL };
+
 static struct physmap_flash_data flash_data = {
 	.width			= 2,
 	.nr_parts		= ARRAY_SIZE(mtd_partitions),
 	.parts			= mtd_partitions,
+	.part_probe_types	= bcm63xx_part_types,
 };
 
 static struct resource mtd_resources[] = {



More information about the linux-mtd-cvs mailing list