From: Mike Rapoport Date: Wed, 10 Feb 2016 16:34:01 +0000 (+0200) Subject: staging: sm750fb: change definition of VGA_CONFIGURATION multi-bit field X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e6f10d281434115d10d5bfc9c569d3d9a21225a0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: sm750fb: change definition of VGA_CONFIGURATION multi-bit field Use more straight-forward definitions for multi-bit field of VGA_CONFIGURATION register. Signed-off-by: Mike Rapoport Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sm750fb/ddk750_reg.h b/drivers/staging/sm750fb/ddk750_reg.h index e873a1008b88..d1e7fc4d50df 100644 --- a/drivers/staging/sm750fb/ddk750_reg.h +++ b/drivers/staging/sm750fb/ddk750_reg.h @@ -547,7 +547,7 @@ #define MXCLK_PLL_CTRL 0x000070 #define VGA_CONFIGURATION 0x000088 -#define VGA_CONFIGURATION_USER_DEFINE 5:4 +#define VGA_CONFIGURATION_USER_DEFINE_MASK (0x3 << 4) #define VGA_CONFIGURATION_PLL BIT(2) #define VGA_CONFIGURATION_MODE BIT(1)