提交 0f8cd165 编写于 作者: D Dmitry Osipenko 提交者: Mauro Carvalho Chehab

media: staging: media: tegra-vde: Remove BIT() macro from UAPI header

The BIT macro isn't available in userspace. Checkpatch complains about
shifts being used instead of the macro and people are starting to send
patches without realizing that it's a UAPI header file. Hence let's
replace the BIT macro with a hex values to make everyone happy.
Signed-off-by: NDmitry Osipenko <digetx@gmail.com>
Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
上级 56202c0c
......@@ -6,8 +6,8 @@
#include <linux/types.h>
#include <asm/ioctl.h>
#define FLAG_B_FRAME BIT(0)
#define FLAG_REFERENCE BIT(1)
#define FLAG_B_FRAME 0x1
#define FLAG_REFERENCE 0x2
struct tegra_vde_h264_frame {
__s32 y_fd;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册