History

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.

Hans Verkuil committed 8 years ago

Commit 81e09891 parent fcab7571 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/media.h+1−1
@@ -136,7 +136,7 @@ struct media_device_info { · 135 unmodified lines
136 * with the legacy v1 API.The number range is out of range by purpose:136 * with the legacy v1 API.The number range is out of range by purpose:
137 * several previously reserved numbers got excluded from this range.137 * several previously reserved numbers got excluded from this range.
138 *138 *
139 * Subdevs are initialized with MEDIA_ENT_T_V4L2_SUBDEV_UNKNOWN,139 * Subdevs are initialized with MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN,
140 * in order to preserve backward compatibility.140 * in order to preserve backward compatibility.
141 * Drivers must change to the proper subdev type before141 * Drivers must change to the proper subdev type before
142 * registering the entity.142 * registering the entity.