When to use mtd.h or mtd-user.h

MikeW mw_phil at yahoo.co.uk
Wed May 16 05:54:20 EDT 2007


MikeW <mw_phil <at> yahoo.co.uk> writes:

> 
> 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 ?
> 
> Many thanks,
> MikeW

Incidentally, I did actually realise which was the *correct* usage,
but I wondered why anyone (especially uBoot) would use the other.

Thanks for the comments,
MikeW





More information about the linux-mtd mailing list