TRIVIAL: Fix linux/mtd/nftl.h for user-space inclusion

David Woodhouse dwmw2 at infradead.org
Tue Jun 1 17:25:12 EDT 2004


On Tue, 2004-06-01 at 23:13 +0200, Bernardo Innocenti wrote:
> David Woodhouse wrote:
> > On Tue, 2004-06-01 at 22:15 +0200, Bernardo Innocenti wrote:
> > 
> >>Fix linux/mtd/nftl.h for user-space inclusion (required to build mtd-utils).
> >>
> >>Please apply.
> > 
> > It should be including mtd/nftl-user.h not linux/nftl.h
> 
> The header nftl-user.h doesn't exist in neither
> linux-2.6.6 and in the version of mtd-utils
> imported in uClinux-dist (a rather old version,
> I shall admit).

nftl-user.h is in CVS, along with a version of the userspace tools which
uses it.

> If nftl.h isn't supposed to be included from user-space,
> the "#ifdef __KERNEL__ ... #endif" it contains is
> useless.

It it also removed in CVS.

-- 
dwmw2





More information about the linux-mtd mailing list