Accessing an MTD device from kernel space

Dan Eisenhut deisenhut at wi.rr.com
Wed May 26 19:38:34 EDT 2004


On Wed, 2004-05-26 at 16:26, Thomas Gleixner wrote:
> Just use the mtd API which is used from fs drivers and anything else which 
> accessed the mtd devices from kernel space
> 
> mtd->read(....), mtd->erase(...) 

Thanks...  I dug through the fs/jffs2 directory and figured out how to
use the get_mtd_device() and mtd->read() functions.  Its working great.

Dan





More information about the linux-mtd mailing list