When to use mtd.h or mtd-user.h
Wolfgang Denk
wd at denx.de
Thu May 17 06:09:52 EDT 2007
In message <loom.20070515T170629-855 at post.gmane.org> you wrote:
> I note some applications for running in userspace say:
> #include <linux/mtd/mtd.h>
> and some say
> #include <mtd/mtd-user.h>
>
> Which is the recommended usage, and why ?
<linux/mtd/mtd.h> used to be used on very old (2.4) kernel versions;
<mtd/mtd-user.h> has to be used now.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The biggest difference between time and space is that you can't reuse
time. - Merrick Furst
More information about the linux-mtd
mailing list