Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm Ifdef out debugfs stuff.



details:   https://anonhg.NetBSD.org/src/rev/13c67b69192e
branches:  trunk
changeset: 1027845:13c67b69192e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:56:40 2021 +0000

description:
Ifdef out debugfs stuff.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_dp_helper.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 12392ed482ea -r 13c67b69192e sys/external/bsd/drm2/dist/drm/drm_dp_helper.c
--- a/sys/external/bsd/drm2/dist/drm/drm_dp_helper.c    Sun Dec 19 00:56:32 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_dp_helper.c    Sun Dec 19 00:56:40 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_dp_helper.c,v 1.13 2021/12/18 23:44:57 riastradh Exp $     */
+/*     $NetBSD: drm_dp_helper.c,v 1.14 2021/12/19 00:56:40 riastradh Exp $     */
 
 /*
  * Copyright © 2009 Keith Packard
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_dp_helper.c,v 1.13 2021/12/18 23:44:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_dp_helper.c,v 1.14 2021/12/19 00:56:40 riastradh Exp $");
 
 #include <linux/delay.h>
 #include <linux/errno.h>
@@ -465,6 +465,7 @@
  * @aux: DisplayPort AUX channel
  *
  */
+#ifndef __NetBSD__
 void drm_dp_downstream_debug(struct seq_file *m,
                             const u8 dpcd[DP_RECEIVER_CAP_SIZE],
                             const u8 port_cap[4], struct drm_dp_aux *aux)
@@ -542,6 +543,7 @@
        }
 }
 EXPORT_SYMBOL(drm_dp_downstream_debug);
+#endif
 
 /*
  * I2C-over-AUX implementation



Home | Main Index | Thread Index | Old Index