aboutsummaryrefslogtreecommitdiff
path: root/linux-core/nv50_sor.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-06 10:52:25 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-06 10:52:25 +0200
commite810cb9243fe6c4905182869d9e3272d861a14cb (patch)
tree4d876dfd533ea6e62b488119d870b9fa0d7a3a1b /linux-core/nv50_sor.c
parentd495a6e28f7fe5428c1ceb75378cad31b51a517a (diff)
modesetting-101: rename modeflags, as to avoid conflicts with the xorg definitions
Diffstat (limited to 'linux-core/nv50_sor.c')
-rw-r--r--linux-core/nv50_sor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/nv50_sor.c b/linux-core/nv50_sor.c
index 4d82697e..021a45bf 100644
--- a/linux-core/nv50_sor.c
+++ b/linux-core/nv50_sor.c
@@ -77,10 +77,10 @@ static int nv50_sor_execute_mode(struct nv50_output *output, bool disconnect)
else
mode_ctl |= NV50_SOR_MODE_CTRL_CRTC0;
- if (desired_mode->flags & V_NHSYNC)
+ if (desired_mode->flags & DRM_MODE_FLAG_NHSYNC)
mode_ctl |= NV50_SOR_MODE_CTRL_NHSYNC;
- if (desired_mode->flags & V_NVSYNC)
+ if (desired_mode->flags & DRM_MODE_FLAG_NVSYNC)
mode_ctl |= NV50_SOR_MODE_CTRL_NVSYNC;
OUT_MODE(NV50_SOR0_MODE_CTRL + offset, mode_ctl);