Loading drivers/media/video/videobuf-vmalloc.c +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ static int __videobuf_iolock (struct videobuf_queue* q, return 0; /* FIXME: to properly support USERPTR, remap should occur. The code bellow won't work, since mem->vma = NULL The code below won't work, since mem->vma = NULL */ /* Try to remap memory */ rc = remap_vmalloc_range(mem->vma, (void *)vb->baddr, 0); Loading include/media/v4l2-dev.h +2 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ struct video_device char name[32]; int vfl_type; int minor; /* attribute to diferentiate multiple indexs on one physical device */ /* attribute to differentiate multiple indices on one physical device */ int index; int debug; /* Activates debug level*/ Loading @@ -78,7 +78,7 @@ struct video_device void *priv; #endif /* for videodev.c intenal usage -- please don't touch */ /* for videodev.c internal usage -- please don't touch */ int users; /* video_exclusive_{open|close} ... */ struct mutex lock; /* ... helper function uses these */ }; Loading Loading
drivers/media/video/videobuf-vmalloc.c +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ static int __videobuf_iolock (struct videobuf_queue* q, return 0; /* FIXME: to properly support USERPTR, remap should occur. The code bellow won't work, since mem->vma = NULL The code below won't work, since mem->vma = NULL */ /* Try to remap memory */ rc = remap_vmalloc_range(mem->vma, (void *)vb->baddr, 0); Loading
include/media/v4l2-dev.h +2 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ struct video_device char name[32]; int vfl_type; int minor; /* attribute to diferentiate multiple indexs on one physical device */ /* attribute to differentiate multiple indices on one physical device */ int index; int debug; /* Activates debug level*/ Loading @@ -78,7 +78,7 @@ struct video_device void *priv; #endif /* for videodev.c intenal usage -- please don't touch */ /* for videodev.c internal usage -- please don't touch */ int users; /* video_exclusive_{open|close} ... */ struct mutex lock; /* ... helper function uses these */ }; Loading