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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Jan 2021 12:55:18 +0000 (13:55 +0100)
commit77727dfda786ce1d333ebc9c8777d821fe86466a
treef0ccebe95ec0012e821fc546e9a8b7757a048cba
parent94fb5ff34544897982f7773868fa10530f13bb2d
media: v4l2-subdev.h: BIT() is not available in userspace

commit a53e3c189cc6460b60e152af3fc24edf8e0ea9d2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/v4l2-subdev.h