[media] media: Introduce internal index for media entities
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 16 Dec 2015 13:32:17 +0000 (11:32 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:17 +0000 (12:19 -0200)
commit665faa971d087e8b968ef75d04079a7a462ddfca
tree86bf4c0dd50debbe5a8353208a1e4b818d22d51d
parent1630b832355399dd0dc4fcc2cadbcad47153a748
[media] media: Introduce internal index for media entities

The internal index can be used internally by the framework in order to keep
track of entities for a purpose or another. The internal index is constant
while it's registered to a media device, but the same index may be re-used
once the entity having that index is unregistered.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-device.c
include/media/media-device.h
include/media/media-entity.h