Hello.

I have been writing this FM radio driver and I'm now trying to implement
it as a platform driver that passes IOCTL calls to a subdevice driver
that handles the communication with the hardware etc. 

For IOCTLs there's a macro v4l2_device_call_until_err in v4l2-device.h
that makes the calls pretty convenient to write. But for file operations
there's not such define.

This leads me to the question: should there be such a define for fops or
should they be treated in a different way? To me the IOCTL callbacks and
the file operation callbacks look pretty similar...

Cheers,
Matti






--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to