summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-12-24 21:52:25 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-12-24 21:52:25 +0000
commite66c6832414214d2d574040a5f6da65245ca520f (patch)
treec92a152c63e9125979d8ab788d00f91000f66fbe /sys/dev
parent9c31a18f28a5fe1ade134399954983b6f830f668 (diff)
Put a bit more unused code under #ifdef notyet to prevent a clang warning.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/intel_lvds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/intel_lvds.c b/sys/dev/pci/drm/i915/intel_lvds.c
index 92376c8bec3..652859e5bb9 100644
--- a/sys/dev/pci/drm/i915/intel_lvds.c
+++ b/sys/dev/pci/drm/i915/intel_lvds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intel_lvds.c,v 1.15 2015/09/23 23:12:12 kettenis Exp $ */
+/* $OpenBSD: intel_lvds.c,v 1.16 2016/12/24 21:52:24 kettenis Exp $ */
/*
* Copyright © 2006-2007 Intel Corporation
* Copyright (c) 2006 Dave Airlie <airlied@linux.ie>
@@ -382,6 +382,7 @@ static int intel_lvds_get_modes(struct drm_connector *connector)
return 1;
}
+#ifdef notyet
static int intel_no_modeset_on_lid_dmi_callback(const struct dmi_system_id *id)
{
DRM_INFO("Skipping forced modeset for %s\n", id->ident);
@@ -402,7 +403,6 @@ static const struct dmi_system_id intel_no_modeset_on_lid[] = {
{ } /* terminating entry */
};
-#ifdef notyet
/*
* Lid events. Note the use of 'modeset':
* - we set it to MODESET_ON_LID_OPEN on lid close,