summaryrefslogtreecommitdiff
path: root/linux-core/dvo_ch7xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/dvo_ch7xxx.c')
-rw-r--r--linux-core/dvo_ch7xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/dvo_ch7xxx.c b/linux-core/dvo_ch7xxx.c
index 1fe9eb0f..ebf54bff 100644
--- a/linux-core/dvo_ch7xxx.c
+++ b/linux-core/dvo_ch7xxx.c
@@ -301,7 +301,7 @@ static void ch7xxx_mode_set(struct intel_dvo_device *dvo,
/* set the CH7xxx power state */
static void ch7xxx_dpms(struct intel_dvo_device *dvo, int mode)
{
- if (mode == DPMSModeOn)
+ if (mode == DRM_MODE_DPMS_ON)
ch7xxx_writeb(dvo, CH7xxx_PM, CH7xxx_PM_DVIL | CH7xxx_PM_DVIP);
else
ch7xxx_writeb(dvo, CH7xxx_PM, CH7xxx_PM_FPD);