#define HFLIP 0x01
#define VFLIP 0x02
-#define ROWxCOL 0x20
+#define ROW_X_COL 0x20
static int set_var(struct fbtft_par *par)
{
switch (par->info->var.rotate) {
case 270:
write_reg(par, MIPI_DCS_SET_ADDRESS_MODE,
- ROWxCOL | HFLIP | VFLIP | (par->bgr << 3));
+ ROW_X_COL | HFLIP | VFLIP | (par->bgr << 3));
break;
case 180:
write_reg(par, MIPI_DCS_SET_ADDRESS_MODE,
break;
case 90:
write_reg(par, MIPI_DCS_SET_ADDRESS_MODE,
- ROWxCOL | (par->bgr << 3));
+ ROW_X_COL | (par->bgr << 3));
break;
default:
write_reg(par, MIPI_DCS_SET_ADDRESS_MODE,