linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-mtd@lists.infradead.org
Cc: dbaryshkov@gmail.com, Artem.Bityutskiy@nokia.com,
	dwmw2@infradead.org, Jonathan Cameron <jic23@cam.ac.uk>
Subject: [PATCH] mtd: pxa2xx-flash.c: It used to fall back to provided table.
Date: Fri, 11 Nov 2011 17:06:20 +0000	[thread overview]
Message-ID: <1321031180-6153-2-git-send-email-jic23@kernel.org> (raw)
In-Reply-To: <1321031180-6153-1-git-send-email-jic23@kernel.org>

From: Jonathan Cameron <jic23@cam.ac.uk>

Make this work again.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
---
 drivers/mtd/maps/pxa2xx-flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c
index 411a17d..2a25b67 100644
--- a/drivers/mtd/maps/pxa2xx-flash.c
+++ b/drivers/mtd/maps/pxa2xx-flash.c
@@ -98,7 +98,7 @@ static int __devinit pxa2xx_flash_probe(struct platform_device *pdev)
 	}
 	info->mtd->owner = THIS_MODULE;
 
-	mtd_device_parse_register(info->mtd, probes, 0, NULL, 0);
+	mtd_device_parse_register(info->mtd, probes, 0, flash->parts, flash->nr_parts);
 
 	platform_set_drvdata(pdev, info);
 	return 0;
-- 
1.7.7.2

  reply	other threads:[~2011-11-11 17:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 17:06 [Regression PATCH] pxa2xx-flash.c: Not falling back to partition table as it previously did Jonathan Cameron
2011-11-11 17:06 ` Jonathan Cameron [this message]
2011-11-11 22:40   ` [PATCH] mtd: pxa2xx-flash.c: It used to fall back to provided table Dmitry Eremin-Solenikov
2011-11-17 21:54   ` Artem Bityutskiy
2011-12-06 21:06   ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1321031180-6153-2-git-send-email-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=Artem.Bityutskiy@nokia.com \
    --cc=dbaryshkov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=jic23@cam.ac.uk \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).