From: Ioannis Valasakis Date: Tue, 6 Nov 2018 12:45:42 +0000 (+0000) Subject: staging: tegravde: replace bit assignment with macro X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=42e764d05712c07e44318bc8f6b8665a9c216505;p=openwrt%2Fstaging%2Fblogic.git staging: tegravde: replace bit assignment with macro Replace the bit assignment with the preferred BIT macro. Reported by checkpatch. Signed-off-by: Ioannis Valasakis Signed-off-by: Greg Kroah-Hartman --- 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 #include -#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;