[media] media: add functions to allow creating interfaces
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 20 Aug 2015 12:07:34 +0000 (09:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:44 +0000 (12:18 -0200)
commit27e543fa87deea308f0cc5224ab19e397b0a5ded
tree08663a0ad6f7dcedaed61874aeb7f661c108bc3f
parenta1d2510ebd7a14f0d1a89c138101beaeac076dd2
[media] media: add functions to allow creating interfaces

Interfaces are different than entities: they represent a
Kernel<->userspace interaction, while entities represent a
piece of hardware/firmware/software that executes a function.

Let's distinguish them by creating a separate structure to
store the interfaces.

Later patches should change the existing drivers and logic
to split the current interface embedded inside the entity
structure (device nodes) into a separate object of the graph.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-entity.c
include/media/media-device.h
include/media/media-entity.h