media: v4l2-subdev.h: BIT() is not available in userspace
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 18 Jan 2021 15:37:00 +0000 (16:37 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 26 Jan 2021 18:14:33 +0000 (19:14 +0100)
commita53e3c189cc6460b60e152af3fc24edf8e0ea9d2
tree35cde5f425cf69170b28b1e4f19a069783c45188
parent95e9295daa849095d8be05fb6e26b2ba9be1594f
media: v4l2-subdev.h: BIT() is not available in userspace

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

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 6446ec6cbf46 ("media: v4l2-subdev: add VIDIOC_SUBDEV_QUERYCAP ioctl")
Cc: <stable@vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/uapi/linux/v4l2-subdev.h