mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[media] v4l2-core: create MC interfaces for devnodes
V4L2 device (and subdevice) nodes should create an interface, if the Media Controller support is enabled. Please notice that radio devices should not create an entity, as radio input/output is either via wires or via ALSA. Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
f50d51661a
commit
d9c21e3e4b
3 changed files with 109 additions and 19 deletions
|
|
@ -86,6 +86,7 @@ struct video_device
|
|||
{
|
||||
#if defined(CONFIG_MEDIA_CONTROLLER)
|
||||
struct media_entity entity;
|
||||
struct media_intf_devnode *intf_devnode;
|
||||
#endif
|
||||
/* device ops */
|
||||
const struct v4l2_file_operations *fops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue