summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-02-05 10:30:48 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-26 15:47:26 +0100
commit81e0989e2ff411b3bb40098730830f16f707bd42 (patch)
tree8090a2616d681a4a245ea036c45ca4dbb1b75bf5 /include
parentmedia: media-device.c: zero reserved fields (diff)
downloadlinux-81e0989e2ff411b3bb40098730830f16f707bd42.tar.xz
linux-81e0989e2ff411b3bb40098730830f16f707bd42.zip
media: media.h: fix confusing typo in comment
Subdevs are initialized with MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN, not MEDIA_ENT_T_V4L2_SUBDEV_UNKNOWN. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/media.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index 2f12328e260d..3e8a28a5429f 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -136,7 +136,7 @@ struct media_device_info {
* with the legacy v1 API.The number range is out of range by purpose:
* several previously reserved numbers got excluded from this range.
*
- * Subdevs are initialized with MEDIA_ENT_T_V4L2_SUBDEV_UNKNOWN,
+ * Subdevs are initialized with MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN,
* in order to preserve backward compatibility.
* Drivers must change to the proper subdev type before
* registering the entity.