/* permit a R/O mapping to be made directly through onto an MTD device if possible  */
static int romfs_mmap(struct file *file, struct vm_area_struct *vma)
/* permit a R/O mapping to be made directly through onto an MTD device if possible  */
static int romfs_mmap(struct file *file, struct vm_area_struct *vma)
{
	return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS;
}