[media] v4l2-subdev: use MEDIA_ENT_T_UNKNOWN for new subdevs
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 8 May 2015 01:12:38 +0000 (22:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:51 +0000 (12:18 -0200)
commitb50bde4e476dede4a28e9c8fdcd134da2f34ef2e
treeefa9c45a6e059bb84dd1636ee0fd009b275843ea
parentbf4178a4c63443da1475c9c1bbb39963e75aa69b
[media] v4l2-subdev: use MEDIA_ENT_T_UNKNOWN for new subdevs

Instead of abusing MEDIA_ENT_T_V4L2_SUBDEV, initialize
new subdev entities as MEDIA_ENT_T_UNKNOWN.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-device.c
drivers/media/v4l2-core/v4l2-subdev.c
include/uapi/linux/media.h