]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media-entity: add a helper function to create interface
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 28 Aug 2015 18:43:36 +0000 (15:43 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:48 +0000 (12:18 -0200)
commit60f5930c402d78217208809a5d4260096f097ab4
tree3af8df932c326dea3ee88c4e7a588a64b161bd43
parent50a4c7723ab56b5fe16aa32f86742ebc97fa4cc0
[media] media-entity: add a helper function to create interface

As we'll be adding other interface types in the future, put the
common interface create code on a separate function.

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