Subdevs are initialized with MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN, not MEDIA_ENT_T_V4L2_SUBDEV_UNKNOWN.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -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 before | 141 | * Drivers must change to the proper subdev type before |
| 142 | * registering the entity. | 142 | * registering the entity. |