Bill Dirks wrote:
> V4L2 has multiple opens per device, and it doesn't require passing
> file*s to drivers.

I've checked how v4l2 does it.

> That lets drivers remain decoupled from struct file
> (which they shouldn't care about anyway), and it lets file->private_data
> remain available for use by videodev.o.

Ah, that's why.  I've wondered why it is done this way because right now
videodev2 does not use file->private_data itself but simply passes it down.
But this way it can be changed later without breaking the drivers.  Ok,
I can see the point.

  Gerd


-- 
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to