summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/omap
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-11-02 15:00:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-11-02 15:00:27 +0000
commit8097f599842a37c5264574f29db81d66547c95b8 (patch)
tree763dcd07d4427dc1009b59d77719914fda03359e /sys/arch/armv7/omap
parent6eedea77440843a447ac27d05fddb715fc440e24 (diff)
Move edid_print() behind defined(EDID_DEBUG).
Diffstat (limited to 'sys/arch/armv7/omap')
-rw-r--r--sys/arch/armv7/omap/amdisplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/omap/amdisplay.c b/sys/arch/armv7/omap/amdisplay.c
index a85e67e482e..a13d012e5cf 100644
--- a/sys/arch/armv7/omap/amdisplay.c
+++ b/sys/arch/armv7/omap/amdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amdisplay.c,v 1.18 2024/05/13 01:15:50 jsg Exp $ */
+/* $OpenBSD: amdisplay.c,v 1.19 2024/11/02 15:00:26 miod Exp $ */
/*
* Copyright (c) 2016 Ian Sutton <ians@openbsd.org>
*
@@ -218,7 +218,7 @@ amdisplay_attach(struct device *parent, struct device *self, void *args)
free(edid_buf, M_DEVBUF, EDID_LENGTH);
-#ifdef LCD_DEBUG
+#if defined(LCD_DEBUG) && defined(EDID_DEBUG)
edid_print(&sc->sc_edid);
#endif