diff options
author | Ioannis Valasakis <code@wizofe.uk> | 2018-11-06 12:45:42 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-07 12:22:33 +0100 |
commit | 42e764d05712c07e44318bc8f6b8665a9c216505 (patch) | |
tree | d706e91b000fa999fe26bd45f78a4e02bbaaae6b /drivers/staging/media | |
parent | 284371999b1b3bddbdbd07a2e4b9ef736acf4457 (diff) |
staging: tegravde: replace bit assignment with macro
Replace the bit assignment with the preferred BIT macro. Reported by
checkpatch.
Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/tegra-vde/uapi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/tegra-vde/uapi.h b/drivers/staging/media/tegra-vde/uapi.h index a50c7bcae057..4bce08a7a54c 100644 --- a/drivers/staging/media/tegra-vde/uapi.h +++ b/drivers/staging/media/tegra-vde/uapi.h @@ -13,8 +13,8 @@ #include <linux/types.h> #include <asm/ioctl.h> -#define FLAG_B_FRAME (1 << 0) -#define FLAG_REFERENCE (1 << 1) +#define FLAG_B_FRAME BIT(0) +#define FLAG_REFERENCE BIT(1) struct tegra_vde_h264_frame { __s32 y_fd; |