Change the ioctl function prototype to fix compilation of amlogic
drivers
Transfer some more changes from the fards/AMlogic_Meson6_030812release
respository
Import latest YAFFS2 code from git://www.aleph1.co.uk/yaffs2 repo
(changeset bc76682d93955cfb33051beb503ad9f8a5450578).  Import was done
using `./patch-ker.sh c m`.
Restore amlogic changes to YAFFS2, as determined by diffing the code in
Pivosgroup/buildroot against the code in git://www.aleph1.co.uk/yaffs2
(changeset 4c78eb9aa16a108e258ab6185f37a51c3b413cb8).
Minor compilation fixes for 2.6.36