summaryrefslogtreecommitdiff
path: root/linux-core/dvo_ch7xxx.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/dvo_ch7xxx.c
parentd495a6e28f7fe5428c1ceb75378cad31b51a517a (diff)
modesetting-101: rename modeflags, as to avoid conflicts with the xorg definitions
Diffstat (limited to 'linux-core/dvo_ch7xxx.c')
-rw-r--r--linux-core/dvo_ch7xxx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/dvo_ch7xxx.c b/linux-core/dvo_ch7xxx.c
index 18922556..1fe9eb0f 100644
--- a/linux-core/dvo_ch7xxx.c
+++ b/linux-core/dvo_ch7xxx.c
@@ -289,10 +289,10 @@ static void ch7xxx_mode_set(struct intel_dvo_device *dvo,
ch7xxx_readb(dvo, CH7xxx_IDF, &idf);
idf &= ~(CH7xxx_IDF_HSP | CH7xxx_IDF_VSP);
- if (mode->flags & V_PHSYNC)
+ if (mode->flags & DRM_MODE_FLAG_PHSYNC)
idf |= CH7xxx_IDF_HSP;
- if (mode->flags & V_PVSYNC)
+ if (mode->flags & DRM_MODE_FLAG_PVSYNC)
idf |= CH7xxx_IDF_HSP;
ch7xxx_writeb(dvo, CH7xxx_IDF, idf);