linux-mips
[Top] [All Lists]

[PATCH 6/7] MIPS: BCM63XX: use the new bcm63xxpart parser

To: linux-mtd@lists.infradead.org
Subject: [PATCH 6/7] MIPS: BCM63XX: use the new bcm63xxpart parser
From: Jonas Gorski <jonas.gorski@gmail.com>
Date: Mon, 5 Dec 2011 16:08:10 +0100
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>, Florian Fainelli <florian@openwrt.org>, David Woodhouse <dwmw2@infradead.org>, Artem Bityutskiy <Artem.Bityutskiy@intel.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=v6NzR+90mvqgabZ3Jol6wF7QptTTlXP8k5sVL+egcd8=; b=PTciu7hyRjX5Pbi+3d3Vg0UtfR9TGcRMfpuXOzf2xZa7JGVZAebn7f29lMZUstD6C9 CrDgWKRT9QiKxz4xYjStVUcxNSr3LDyAVHSpPQ/xq6atcliVOW36HH2BJdhLyjI2FUca W8uiYbyQulAfAyExrwY+ayg97zPAKL1i1sUsM=
In-reply-to: <1323097691-16414-1-git-send-email-jonas.gorski@gmail.com>
References: <1323097691-16414-1-git-send-email-jonas.gorski@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.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[] = {
-- 
1.7.2.5


<Prev in Thread] Current Thread [Next in Thread>