The BIT macro is not available in userspace, so replace BIT(0) by 0x00000001.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -176,7 +176,7 @@ struct v4l2_subdev_capability { · 175 unmodified lines | ||
| 176 | 176 | }; |
| 177 | 177 | |
| 178 | 178 | /* The v4l2 sub-device video device node is registered in read-only mode. */ |
| 179 | −#define V4L2_SUBDEV_CAP_RO_SUBDEV BIT(0) | |
| 179 | +#define V4L2_SUBDEV_CAP_RO_SUBDEV 0x00000001 | |
| 180 | 180 | |
| 181 | 181 | /* Backwards compatibility define --- to be removed */ |
| 182 | 182 | #define v4l2_subdev_edid v4l2_edid |