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