> file->private_data = ctrl; > + > + if (ctrl->ops->mmap_file_open) > + ctrl->ops->mmap_file_open(ctrl, file); > + The callout doesn't really have anything to do with mmap, that is just how you use it.
> file->private_data = ctrl; > + > + if (ctrl->ops->mmap_file_open) > + ctrl->ops->mmap_file_open(ctrl, file); > + The callout doesn't really have anything to do with mmap, that is just how you use it.