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/dist/include/drm Move drm_cdevsw out o...



details:   https://anonhg.NetBSD.org/src/rev/2b73d25f90c3
branches:  trunk
changeset: 1028230:2b73d25f90c3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:52:43 2021 +0000

description:
Move drm_cdevsw out of drmP.h which should eventually be removed

drm_device.h seems like an OK spot.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h       |  6 +-----
 sys/external/bsd/drm2/dist/include/drm/drm_device.h |  6 +++++-
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 336cf87d3f82 -r 2b73d25f90c3 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 09:52:34 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 09:52:43 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.62 2021/12/19 09:51:41 riastradh Exp $      */
+/*     $NetBSD: drmP.h,v 1.63 2021/12/19 09:52:43 riastradh Exp $      */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -213,8 +213,4 @@
 
 #endif /* defined(__NetBSD__) */
 
-#ifdef __NetBSD__
-extern const struct cdevsw drm_cdevsw;
 #endif
-
-#endif
diff -r 336cf87d3f82 -r 2b73d25f90c3 sys/external/bsd/drm2/dist/include/drm/drm_device.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_device.h       Sun Dec 19 09:52:34 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_device.h       Sun Dec 19 09:52:43 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_device.h,v 1.3 2021/12/19 01:55:45 riastradh Exp $ */
+/*     $NetBSD: drm_device.h,v 1.4 2021/12/19 09:52:43 riastradh Exp $ */
 
 #ifndef _DRM_DEVICE_H_
 #define _DRM_DEVICE_H_
@@ -385,4 +385,8 @@
 #endif
 };
 
+#ifdef __NetBSD__
+extern const struct cdevsw drm_cdevsw;
 #endif
+
+#endif



Home | Main Index | Thread Index | Old Index