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/drm Restore drm_sysfs_connector_add/re...



details:   https://anonhg.NetBSD.org/src/rev/5ed6b25cc9bb
branches:  trunk
changeset: 1028335:5ed6b25cc9bb
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:39:42 2021 +0000

description:
Restore drm_sysfs_connector_add/remove stubs.

diffstat:

 sys/external/bsd/drm2/drm/drm_sysfs.c |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 1c49fc520340 -r 5ed6b25cc9bb sys/external/bsd/drm2/drm/drm_sysfs.c
--- a/sys/external/bsd/drm2/drm/drm_sysfs.c     Sun Dec 19 10:39:35 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_sysfs.c     Sun Dec 19 10:39:42 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_sysfs.c,v 1.7 2021/12/19 10:35:52 riastradh Exp $  */
+/*     $NetBSD: drm_sysfs.c,v 1.8 2021/12/19 10:39:42 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,10 +30,23 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_sysfs.c,v 1.7 2021/12/19 10:35:52 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_sysfs.c,v 1.8 2021/12/19 10:39:42 riastradh Exp $");
 
 #include <drm/drm_sysfs.h>
 
+#include "../dist/drm/drm_internal.h"
+
+int
+drm_sysfs_connector_add(struct drm_connector *connector)
+{
+       return 0;
+}
+
+void
+drm_sysfs_connector_remove(struct drm_connector *connector)
+{
+}
+
 void
 drm_sysfs_hotplug_event(struct drm_device *dev)
 {



Home | Main Index | Thread Index | Old Index