From: Artem Bityutskiy <dedekind1@gmail.com>
To: Dipen Dudhat <Dipen.Dudhat@freescale.com>
Cc: scottwood@freescale.com, linux-mtd@lists.infradead.org,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH][upstream] NAND Machine support for Integrated Flash Controller
Date: Wed, 25 May 2011 10:20:22 +0300 [thread overview]
Message-ID: <1306308022.2785.129.camel@localhost> (raw)
In-Reply-To: <1306296011-11348-1-git-send-email-Dipen.Dudhat@freescale.com>
Hi,
On Wed, 2011-05-25 at 09:30 +0530, Dipen Dudhat wrote:
> + ret = nand_scan_tail(&priv->mtd);
> + if (ret)
> + goto err;
> +
> +#ifdef CONFIG_MTD_PARTITIONS
We've just removed this macro, it should be merged upstream soon, but it
is in the mtd tree so far.
> + /* First look for RedBoot table or partitions on the command
> + * line, these take precedence over device tree information */
> + ret = parse_mtd_partitions(&priv->mtd, part_probe_types, &parts, 0);
> + if (ret < 0)
> + goto err;
> +
> +#ifdef CONFIG_MTD_OF_PARTS
> + if (ret == 0) {
> + ret = of_mtd_parse_partitions(priv->dev, node, &parts);
> + if (ret < 0)
> + goto err;
> + }
> +#endif
You should invent something to make sure you do not need #ifdef
CONFIG_MTD_OF_PARTS.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2011-05-25 7:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 4:00 [PATCH][upstream] NAND Machine support for Integrated Flash Controller Dipen Dudhat
2011-05-25 7:20 ` Artem Bityutskiy [this message]
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=1306308022.2785.129.camel@localhost \
--to=dedekind1@gmail.com \
--cc=Dipen.Dudhat@freescale.com \
--cc=linux-mtd@lists.infradead.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.com \
/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).