Hi,
    I am on linux kernel version 3.5.0-23. When compiling yaffs I get this error 
error: ‘struct mtd_info’ has no member named ‘erase’. I believe Linux kernel version 3.5.0-23 does not have support for mtd. 
     How can I turn off USE_MTD to get yaffs compilation in a working state.

Thanking you.

--
Regards,
Ravi Tandon.