public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Vinit Agnihotri <vinit.agnihotri@gmail.com>
Cc: vishalk@tataelxsi.co.in, linux-mtd@lists.infradead.org
Subject: Re: what is the user space header file for mtdchar.c kernel driver
Date: Wed, 6 Feb 2008 01:46:18 +0000	[thread overview]
Message-ID: <20080206014618.GB5042@shareable.org> (raw)
In-Reply-To: <9b52d64c0802051905p5db6b6e1w9b065ffc10243f02@mail.gmail.com>

Vinit Agnihotri wrote:
> What exactly do you want to do with mtdchar??
> To access char driver you need to use dev file /dev/mtdchar,
> it doesn't need any header file.

Actually, to use the dev file's ioctls, you really do need a copy of
<mtd/mtd-user.h> and <mtd/mtd-abi.h>.

They are in the Linux kernel source tree under linux/include/mtd/, and
also in the flash utilities under include/mtd/.

-- Jamie

      reply	other threads:[~2008-02-06  3:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05 11:04 what is the user space header file for mtdchar.c kernel driver vishalk
2008-02-06  3:05 ` Vinit Agnihotri
2008-02-06  1:46   ` Jamie Lokier [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=20080206014618.GB5042@shareable.org \
    --to=jamie@shareable.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vinit.agnihotri@gmail.com \
    --cc=vishalk@tataelxsi.co.in \
    /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