]> git.karo-electronics.de Git - karo-tx-linux.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)
commit1283f849dce2e64690e610216cd8dc3df9789bae
tree3af8df932c326dea3ee88c4e7a588a64b161bd43
parent86e2662071d6f26704bb290317746149ce07be7a
[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