Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia Register userspace interfaces for our co...



details:   https://anonhg.NetBSD.org/src/rev/7ef9b2790257
branches:  trunk
changeset: 461778:7ef9b2790257
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jul 07 10:27:41 2019 +0000

description:
Register userspace interfaces for our connector

diffstat:

 sys/arch/arm/nvidia/tegra_drm_mode.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a582efae2f65 -r 7ef9b2790257 sys/arch/arm/nvidia/tegra_drm_mode.c
--- a/sys/arch/arm/nvidia/tegra_drm_mode.c      Sun Jul 07 06:29:14 2019 +0000
+++ b/sys/arch/arm/nvidia/tegra_drm_mode.c      Sun Jul 07 10:27:41 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_drm_mode.c,v 1.17 2018/08/27 15:31:51 riastradh Exp $ */
+/* $NetBSD: tegra_drm_mode.c,v 1.18 2019/07/07 10:27:41 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_drm_mode.c,v 1.17 2018/08/27 15:31:51 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_drm_mode.c,v 1.18 2019/07/07 10:27:41 jmcneill Exp $");
 
 #include <drm/drmP.h>
 #include <drm/drm_crtc.h>
@@ -1191,7 +1191,7 @@
        if (!connector->ddc)
                DRM_ERROR("failed to find ddc device for connector\n");
 
-       return 0;
+       return drm_connector_register(&connector->base);
 }
 
 static void



Home | Main Index | Thread Index | Old Index