[media] media: make add link more generic
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 20 Aug 2015 11:21:35 +0000 (08:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:47 +0000 (12:18 -0200)
commit23615de5ee742f2f49833777ab015cf1a83fcbc3
tree404321663f59fc43d39579fac83f923fcd1b7bf8
parent57208e5e25f263d27ea00e530c95f62071573cb7
[media] media: make add link more generic

The media_entity_add_link() function takes an entity
as an argument just to get the list head.

Make it more generic by changing the function argument
to list_head.

No functional changes.

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