All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: "Anders Mørk-Pedersen" <amp@frogne.dk>
Cc: linux-mtd@lists.infradead.org
Subject: Re: pxa2xx-flash.c
Date: Tue, 06 Dec 2011 14:07:10 +0200	[thread overview]
Message-ID: <1323173231.2163.6.camel@koala> (raw)
In-Reply-To: <4EDC7B590200008E00014334@mail.frogne.dk>

On Mon, 2011-12-05 at 08:05 +0100, Anders Mørk-Pedersen wrote:
> I have done as you instructed and created a patch for "git am" and
> attached it to this mail.
> 
> I've also sent a copy to: Dmitry Eremin-Solenikov
> <dbaryshkov@gmail.com>

Hi, I've just noticed that I already have this patch in my tree
which fixes your problem:

commit 84c692b1f408be52eb0f8ad2ce130b7800130a0c
Author: Jonathan Cameron <jic23@cam.ac.uk>
Date:   Fri Nov 11 17:06:20 2011 +0000

    mtd: pxa2xx-flash.c: It used to fall back to provided table.
    
    Make this work again.
    
    Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
    Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>

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;

Artem.

  reply	other threads:[~2011-12-06 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  7:05 pxa2xx-flash.c Anders Mørk-Pedersen
2011-12-06 12:07 ` Artem Bityutskiy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-02 14:40 pxa2xx-flash.c Anders Mørk-Pedersen
2011-12-04 14:29 ` pxa2xx-flash.c 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=1323173231.2163.6.camel@koala \
    --to=dedekind1@gmail.com \
    --cc=amp@frogne.dk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.