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>
This commit is contained in:
Ioannis Valasakis 2018-11-06 12:45:42 +00:00 committed by Greg Kroah-Hartman
parent 284371999b
commit 42e764d057
1 changed files with 2 additions and 2 deletions

View File

@ -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;