media: v4l2-subdev.h: BIT() is not available in userspace
stable inclusion from stable-5.10.12 commit 77727dfda786ce1d333ebc9c8777d821fe86466a bugzilla: 47876 -------------------------------- commit a53e3c18 upstream. The BIT macro is not available in userspace, so replace BIT(0) by 0x00000001. Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: 6446ec6c ("media: v4l2-subdev: add VIDIOC_SUBDEV_QUERYCAP ioctl") Cc: <stable@vger.kernel.org> Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录