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 Modify to get name in a netbs...



details:   https://anonhg.NetBSD.org/src/rev/8d7f7f918fa3
branches:  trunk
changeset: 1028171:8d7f7f918fa3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:44:48 2021 +0000

description:
Modify to get name in a netbsd-friendly way


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

diffstat:

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

diffs (36 lines):

diff -r 69eae0b4263f -r 8d7f7f918fa3 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:35 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c      Sun Dec 19 09:44:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_dp_mst_topology.c,v 1.8 2021/12/19 09:44:35 riastradh Exp $        */
+/*     $NetBSD: drm_dp_mst_topology.c,v 1.9 2021/12/19 09:44:48 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.8 2021/12/19 09:44:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_dp_mst_topology.c,v 1.9 2021/12/19 09:44:48 riastradh Exp $");
 
 #include <linux/delay.h>
 #include <linux/errno.h>
@@ -2146,7 +2146,7 @@
                                       struct drm_dp_mst_port *port)
 {
        DRM_DEBUG_KMS("registering %s remote bus for %s\n",
-                     port->aux.name, connector->kdev->kobj.name);
+                     port->aux.name, device_xname(connector->dev->dev));
 
        port->aux.dev = connector->kdev;
        return drm_dp_aux_register_devnode(&port->aux);
@@ -2166,7 +2166,7 @@
                                           struct drm_dp_mst_port *port)
 {
        DRM_DEBUG_KMS("unregistering %s remote bus for %s\n",
-                     port->aux.name, connector->kdev->kobj.name);
+                     port->aux.name, device_xname(connector->dev->dev));
        drm_dp_aux_unregister_devnode(&port->aux);
 }
 EXPORT_SYMBOL(drm_dp_mst_connector_early_unregister);



Home | Main Index | Thread Index | Old Index