summaryrefslogtreecommitdiff
path: root/linux-core/dvo_sil164.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/dvo_sil164.c')
-rw-r--r--linux-core/dvo_sil164.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/dvo_sil164.c b/linux-core/dvo_sil164.c
index d0fa4913..033a4bb0 100644
--- a/linux-core/dvo_sil164.c
+++ b/linux-core/dvo_sil164.c
@@ -226,7 +226,7 @@ static void sil164_dpms(struct intel_dvo_device *dvo, int mode)
if (ret == false)
return;
- if (mode == DPMSModeOn)
+ if (mode == DRM_MODE_DPMS_ON)
ch |= SIL164_8_PD;
else
ch &= ~SIL164_8_PD;