From: David Woodhouse <dwmw2@infradead.org>
To: Alan Shih <alan@storlinksemi.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Access MTD device from kernel module?
Date: Fri, 17 Oct 2003 10:57:49 +0100 [thread overview]
Message-ID: <1066384669.6744.1194.camel@hades.cambridge.redhat.com> (raw)
In-Reply-To: <ODEIIOAOPGGCDIKEOPILKEEKDOAA.alan@storlinksemi.com>
On Thu, 2003-10-16 at 13:43 -0700, Alan Shih wrote:
> I got stuck with a problem regarding a hardware driver (i.e. NIC driver)
> trying to read a MTD partition.
>
> I know I can export MTD's functions as kernel symbols but not sure if that's
> the best way to do this.
struct mtd_info *mtd = get_mtd_device(NULL, mtd_nr);
mtd->read(...);
put_mtd_device(mtd);
--
dwmw2
prev parent reply other threads:[~2003-10-17 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 20:43 Alan Shih
2003-10-17 9:57 ` David Woodhouse [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=1066384669.6744.1194.camel@hades.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=alan@storlinksemi.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®