[Yaffs] Trivial yportenv.h patch

Charles Manning manningc2@actrix.gen.nz
Tue, 5 Oct 2004 13:29:21 +1300


Thanx Brad

I have put this into CVS.

Maybe this is required by recent kernels. My current build (based on olde=
r=20
stuff) did not.

-- CHarles

On Tuesday 05 October 2004 10:51, Brad Beveridge wrote:
> To get the LINUX_VERSION_CODE macro (when building yaffs as a module) I
> needed to apply the following trivial patch.  I think yportenv is the
> correct place to put it.
>
> Cheers
> Brad
>
> Index: yportenv.h
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /home/aleph1/cvs/yaffs/yportenv.h,v
> retrieving revision 1.11
> diff -r1.11 yportenv.h
> 38a39
>
>  > #include "linux/version.h"
>
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs