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 Comment out drm_print_regset32, n...



details:   https://anonhg.NetBSD.org/src/rev/f83a766e46a1
branches:  trunk
changeset: 1028112:f83a766e46a1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:54:20 2021 +0000

description:
Comment out drm_print_regset32, not used in any of the drivers

we use.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_print.c         |  6 ++++--
 sys/external/bsd/drm2/dist/include/drm/drm_print.h |  4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 74b9a4f8adb3 -r f83a766e46a1 sys/external/bsd/drm2/dist/drm/drm_print.c
--- a/sys/external/bsd/drm2/dist/drm/drm_print.c        Sun Dec 19 01:54:12 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_print.c        Sun Dec 19 01:54:20 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_print.c,v 1.4 2021/12/19 01:07:52 riastradh Exp $  */
+/*     $NetBSD: drm_print.c,v 1.5 2021/12/19 01:54:20 riastradh Exp $  */
 
 /*
  * Copyright (C) 2016 Red Hat
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_print.c,v 1.4 2021/12/19 01:07:52 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_print.c,v 1.5 2021/12/19 01:54:20 riastradh Exp $");
 
 #ifndef __NetBSD__             /* XXX ??? */
 #define DEBUG /* for pr_debug() */
@@ -364,6 +364,7 @@
 }
 EXPORT_SYMBOL(__drm_err);
 
+#ifndef __NetBSD__
 /**
  * drm_print_regset32 - print the contents of registers to a
  * &drm_printer stream.
@@ -391,3 +392,4 @@
        }
 }
 EXPORT_SYMBOL(drm_print_regset32);
+#endif
diff -r 74b9a4f8adb3 -r f83a766e46a1 sys/external/bsd/drm2/dist/include/drm/drm_print.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_print.h        Sun Dec 19 01:54:12 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_print.h        Sun Dec 19 01:54:20 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_print.h,v 1.2 2021/12/18 23:45:46 riastradh Exp $  */
+/*     $NetBSD: drm_print.h,v 1.3 2021/12/19 01:54:20 riastradh Exp $  */
 
 /*
  * Copyright (C) 2016 Red Hat
@@ -93,7 +93,9 @@
 __printf(2, 3)
 void drm_printf(struct drm_printer *p, const char *f, ...);
 void drm_puts(struct drm_printer *p, const char *str);
+#ifndef __NetBSD__
 void drm_print_regset32(struct drm_printer *p, struct debugfs_regset32 *regset);
+#endif
 void drm_print_bits(struct drm_printer *p, unsigned long value,
                    const char * const bits[], unsigned int nbits);
 



Home | Main Index | Thread Index | Old Index