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 Mark several functions only u...
details: https://anonhg.NetBSD.org/src/rev/69eae0b4263f
branches: trunk
changeset: 1028170:69eae0b4263f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:44:35 2021 +0000
description:
Mark several functions only used in this file as static.
EXPORT_SYMBOL_... does this for linux, not sure how to replicate.
taking the easy route.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r e6c38f998a57 -r 69eae0b4263f sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c
--- a/sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c Sun Dec 19 09:44:27 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c Sun Dec 19 09:44:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_dp_mst_topology.c,v 1.7 2021/12/19 00:50:01 riastradh Exp $ */
+/* $NetBSD: drm_dp_mst_topology.c,v 1.8 2021/12/19 09:44:35 riastradh Exp $ */
/*
* Copyright © 2014 Red Hat
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_dp_mst_topology.c,v 1.7 2021/12/19 00:50:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_dp_mst_topology.c,v 1.8 2021/12/19 09:44:35 riastradh Exp $");
#include <linux/delay.h>
#include <linux/errno.h>
@@ -327,7 +327,7 @@
return true;
}
-void
+static void
drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,
struct drm_dp_sideband_msg_tx *raw)
{
@@ -433,7 +433,7 @@
EXPORT_SYMBOL_FOR_TESTS_ONLY(drm_dp_encode_sideband_req);
/* Decode a sideband request we've encoded, mainly used for debugging */
-int
+static int
drm_dp_decode_sideband_req(const struct drm_dp_sideband_msg_tx *raw,
struct drm_dp_sideband_msg_req_body *req)
{
@@ -561,7 +561,7 @@
}
EXPORT_SYMBOL_FOR_TESTS_ONLY(drm_dp_decode_sideband_req);
-void
+static void
drm_dp_dump_sideband_msg_req_body(const struct drm_dp_sideband_msg_req_body *req,
int indent, struct drm_printer *printer)
{
Home |
Main Index |
Thread Index |
Old Index