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 Update DRM_IOCTL_DEF.



details:   https://anonhg.NetBSD.org/src/rev/fe9de536c17a
branches:  trunk
changeset: 365804:fe9de536c17a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:49:01 2018 +0000

description:
Update DRM_IOCTL_DEF.

diffstat:

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

diffs (27 lines):

diff -r 955ee68341c8 -r fe9de536c17a sys/external/bsd/drm2/drm/drm_cdevsw.c
--- a/sys/external/bsd/drm2/drm/drm_cdevsw.c    Mon Aug 27 06:48:50 2018 +0000
+++ b/sys/external/bsd/drm2/drm/drm_cdevsw.c    Mon Aug 27 06:49:01 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_cdevsw.c,v 1.2 2018/08/27 06:48:50 riastradh Exp $ */
+/*     $NetBSD: drm_cdevsw.c,v 1.3 2018/08/27 06:49:01 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.2 2018/08/27 06:48:50 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_cdevsw.c,v 1.3 2018/08/27 06:49:01 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -85,7 +85,7 @@
                .cmd = (IOCTL),                                         \
                .flags = (FLAGS),                                       \
                .func = (FUNC),                                         \
-               .cmd_drv = 0,                                           \
+               .name = #IOCTL,                                         \
        }
 
 #if __OS_HAS_AGP



Home | Main Index | Thread Index | Old Index