Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -68,7 +68,7 @@ struct v4l2_subdev_crop { · 67 unmodified lines | ||
| 68 | 68 | * struct v4l2_subdev_mbus_code_enum - Media bus format enumeration |
| 69 | 69 | * @pad: pad number, as reported by the media API |
| 70 | 70 | * @index: format index during enumeration |
| 71 | − * @code: format code (from enum v4l2_mbus_pixelcode) | |
| 71 | + * @code: format code (MEDIA_BUS_FMT_ definitions) | |
| 72 | 72 | */ |
| 73 | 73 | struct v4l2_subdev_mbus_code_enum { |
| 74 | 74 | __u32 pad; |
| @@ -81,7 +81,7 @@ struct v4l2_subdev_mbus_code_enum { · 6 unmodified lines | ||
| 81 | 81 | * struct v4l2_subdev_frame_size_enum - Media bus format enumeration |
| 82 | 82 | * @pad: pad number, as reported by the media API |
| 83 | 83 | * @index: format index during enumeration |
| 84 | − * @code: format code (from enum v4l2_mbus_pixelcode) | |
| 84 | + * @code: format code (MEDIA_BUS_FMT_ definitions) | |
| 85 | 85 | */ |
| 86 | 86 | struct v4l2_subdev_frame_size_enum { |
| 87 | 87 | __u32 index; |
| @@ -109,7 +109,7 @@ struct v4l2_subdev_frame_interval { · 21 unmodified lines | ||
| 109 | 109 | * struct v4l2_subdev_frame_interval_enum - Frame interval enumeration |
| 110 | 110 | * @pad: pad number, as reported by the media API |
| 111 | 111 | * @index: frame interval index during enumeration |
| 112 | − * @code: format code (from enum v4l2_mbus_pixelcode) | |
| 112 | + * @code: format code (MEDIA_BUS_FMT_ definitions) | |
| 113 | 113 | * @width: frame width in pixels |
| 114 | 114 | * @height: frame height in pixels |
| 115 | 115 | * @interval: frame interval in seconds |