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/322f4284938c
branches:  trunk
changeset: 842490:322f4284938c
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 c9e46b160cc2 -r 322f4284938c 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