/* Allow NOMMU mmap() to directly map the device (if not NULL) */
static unsigned long ram_get_unmapped_area(struct mtd_info *mtd, unsigned long len, unsigned long offset, unsigned long flags)
/* Allow NOMMU mmap() to directly map the device (if not NULL) */
static unsigned long ram_get_unmapped_area(struct mtd_info *mtd, unsigned long len, unsigned long offset, unsigned long flags)
{
	return (unsigned long) mtd->priv + offset;
}