summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_drv.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-30 18:01:37 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-08-30 18:01:37 +0000
commit8f669f7aa4f735e08b585b27c459d4a45163ab14 (patch)
tree8c0f6ed12625b30379875571a75b1230334a5304 /sys/dev/pci/drm/drm_drv.c
parentdb0acf0ee1b8a809a2d84798a0eac1fcce2a1ac8 (diff)
Use only one macro instead of two to turn debug printf on.
ok kettenis@
Diffstat (limited to 'sys/dev/pci/drm/drm_drv.c')
-rw-r--r--sys/dev/pci/drm/drm_drv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 8fc491a16a5..777a54596cd 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_drv.c,v 1.96 2011/07/03 18:34:14 oga Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.97 2012/08/30 18:01:36 mpi Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@ -51,10 +51,8 @@
#include "drm.h"
#include "drm_sarea.h"
-#ifdef DRM_DEBUG_DEFAULT_ON
+#ifdef DRMDEBUG
int drm_debug_flag = 1;
-#else
-int drm_debug_flag = 0;
#endif
int drm_firstopen(struct drm_device *);