History

media: v4l2-subdev.h: BIT() is not available in userspace

The BIT macro is not available in userspace, so replace BIT(0) by 0x00000001.

Hans Verkuil committed 5 years ago

Commit a53e3c11 parent 95e92951 file · +1 −1Browse files

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

Unified · Split

include/uapi/linux/v4l2-subdev.h+1−1
@@ -176,7 +176,7 @@ struct v4l2_subdev_capability { · 175 unmodified lines
176176 };
177177
178178 /* 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
180180
181181 /* Backwards compatibility define --- to be removed */
182182 #define v4l2_subdev_edid v4l2_edid