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/nouveau nouveau_objects_init is no more.



details:   https://anonhg.NetBSD.org/src/rev/bf6814c8f48e
branches:  trunk
changeset: 365772:bf6814c8f48e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:41:25 2018 +0000

description:
nouveau_objects_init is no more.

diffstat:

 sys/external/bsd/drm2/nouveau/nouveau_module.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r ae37331b9aac -r bf6814c8f48e sys/external/bsd/drm2/nouveau/nouveau_module.c
--- a/sys/external/bsd/drm2/nouveau/nouveau_module.c    Mon Aug 27 06:41:13 2018 +0000
+++ b/sys/external/bsd/drm2/nouveau/nouveau_module.c    Mon Aug 27 06:41:25 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_module.c,v 1.4 2015/10/17 12:02:44 jmcneill Exp $      */
+/*     $NetBSD: nouveau_module.c,v 1.5 2018/08/27 06:41:25 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_module.c,v 1.4 2015/10/17 12:02:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_module.c,v 1.5 2018/08/27 06:41:25 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/module.h>
@@ -39,8 +39,7 @@
 #include <drm/drmP.h>
 #include <drm/drm_sysctl.h>
 
-#include <core/object.h>
-#include <engine/device.h>
+#include <core/device.h>
 
 MODULE(MODULE_CLASS_DRIVER, nouveau, "drmkms"); /* XXX drmkms_i2c, drmkms_ttm */
 
@@ -55,7 +54,6 @@
 static int
 nouveau_init(void)
 {
-       nouveau_objects_init();
        nouveau_devices_init();
        drm_sysctl_init(&nouveau_def);
 
@@ -68,7 +66,6 @@
 
        drm_sysctl_fini(&nouveau_def);
        nouveau_devices_fini();
-       nouveau_objects_fini();
 }
 
 static int



Home | Main Index | Thread Index | Old Index