aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-01-18 16:13:36 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-01-18 16:13:36 +0100
commitd076dbe5e1d1fc58898bb86a5c8dd6f3a9819ce9 (patch)
treec9fc2238e31e6496ec9263f996c02c505ddf3a3d
parent39374ef223e490c4fee4827146011e839ffaeae2 (diff)
v4l2-subdev.h: replace BIT(0) by 0x00000001
The BIT macro is not available in userspace. A proper fix for the kernel has been posted, but until that's merged just fix this header manually. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--include/linux/v4l2-subdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/v4l2-subdev.h b/include/linux/v4l2-subdev.h
index 00850b98..d7c26789 100644
--- a/include/linux/v4l2-subdev.h
+++ b/include/linux/v4l2-subdev.h
@@ -176,7 +176,7 @@ struct v4l2_subdev_capability {
};
/* The v4l2 sub-device video device node is registered in read-only mode. */
-#define V4L2_SUBDEV_CAP_RO_SUBDEV BIT(0)
+#define V4L2_SUBDEV_CAP_RO_SUBDEV 1
/* Backwards compatibility define --- to be removed */
#define v4l2_subdev_edid v4l2_edid

Privacy Policy