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/bef0e40a2859
branches:  trunk
changeset: 992503:bef0e40a2859
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 29fddfda1f6f -r bef0e40a2859 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