From: Mike Rapoport Date: Wed, 10 Feb 2016 16:34:15 +0000 (+0200) Subject: staging: sm750fb: change definition of PANEL_PLANE_TL fields X-Git-Tag: next-20160301~20^2~514 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=30ca5cb63c56965;p=karo-tx-linux.git staging: sm750fb: change definition of PANEL_PLANE_TL fields Use stratight-forward defintion of PANEL_PLANE_TL register fields 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 d3359c5e8ced..b8460a5b8c2c 100644 --- a/drivers/staging/sm750fb/ddk750_reg.h +++ b/drivers/staging/sm750fb/ddk750_reg.h @@ -848,8 +848,9 @@ #define PANEL_WINDOW_HEIGHT_Y_MASK 0xfff #define PANEL_PLANE_TL 0x08001C -#define PANEL_PLANE_TL_TOP 26:16 -#define PANEL_PLANE_TL_LEFT 10:0 +#define PANEL_PLANE_TL_TOP_SHIFT 16 +#define PANEL_PLANE_TL_TOP_MASK (0xeff << 16) +#define PANEL_PLANE_TL_LEFT_MASK 0xeff #define PANEL_PLANE_BR 0x080020 #define PANEL_PLANE_BR_BOTTOM 26:16