All of lore.kernel.org
 help / color / mirror / Atom feed
From: Semih Hazar <semih.hazar@indefia.com>
To: "Vladimir A. Barinov" <vbarinov@ru.mvista.com>
Cc: linux-mtd@lists.infradead.org, vitalywool@gmail.com
Subject: Re: Generic Platform NAND Driver
Date: Tue, 22 May 2007 13:28:59 +0300	[thread overview]
Message-ID: <4652C5EB.7080007@indefia.com> (raw)
In-Reply-To: <4652BC51.9090009@ru.mvista.com>

Vladimir A. Barinov wrote:
> You can look at the first (I guess) usage example here:
> http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=4385/2
>
>   

+ixdp425_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
+{
+	struct nand_chip *this = mtd->priv;
+	int offset = (int)this->priv;

Here offset is read from nand_chip->priv, which actually points to struct plat_nand_data of plat_nand.c

Am I wrong ?

  reply	other threads:[~2007-05-22 10:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 12:15 Generic Platform NAND Driver Semih Hazar
2007-05-22  9:08 ` Semih Hazar
2007-05-22  9:48   ` Vladimir A. Barinov
2007-05-22 10:28     ` Semih Hazar [this message]
2007-05-22 11:19       ` Vladimir A. Barinov
2007-05-22 11:53         ` Semih Hazar

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=4652C5EB.7080007@indefia.com \
    --to=semih.hazar@indefia.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vbarinov@ru.mvista.com \
    --cc=vitalywool@gmail.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 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.