[media] media: make media_link more generic to handle interace links
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 20 Aug 2015 12:10:07 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:47 +0000 (12:18 -0200)
commit4b8a3c08592ae0d530c87e2e1672ed8d9184dc09
treece30e4322f8d14919013d9227bca3e9901690fe2
parent23615de5ee742f2f49833777ab015cf1a83fcbc3
[media] media: make media_link more generic to handle interace links

By adding an union at media_link, we get for free a way to
represent interface->entity links.

No need to change anything at the code, just at the internal
header file.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/media/media-entity.h