[media] media: use media_gobj inside entities
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 14 Aug 2015 15:47:48 +0000 (12:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:41 +0000 (12:18 -0200)
commitbfab2aacccfc144e2cceccb71ec89f1eff1b8c51
tree815cf4b3e15e59b00710a75348184debc3619d08
parentec6e4c950621a1d0db1e9b015ede4a3938fdfd18
[media] media: use media_gobj inside entities

As entities are graph objects, let's embed media_gobj
on it. That ensures an unique ID for entities that can be
global along the entire media controller.

For now, we'll keep the already existing entity ID. Such
field need to be dropped at some point, but for now, let's
not do this, to avoid needing to review all drivers and
the userspace apps.

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