Module Name: src
Committed By: riastradh
Date: Sun Dec 19 09:52:43 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drmP.h drm_device.h
Log Message:
Move drm_cdevsw out of drmP.h which should eventually be removed
drm_device.h seems like an OK spot.
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/external/bsd/drm2/dist/include/drm/drmP.h
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/bsd/drm2/dist/include/drm/drm_device.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.62 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.63
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.62 Sun Dec 19 09:51:41 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h Sun Dec 19 09:52:43 2021
@@ -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 @@ drm_io_mapping_init_wc(struct drm_device
#endif /* defined(__NetBSD__) */
-#ifdef __NetBSD__
-extern const struct cdevsw drm_cdevsw;
-#endif
-
#endif
Index: src/sys/external/bsd/drm2/dist/include/drm/drm_device.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.3 src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.4
--- src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.3 Sun Dec 19 01:55:45 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_device.h Sun Dec 19 09:52:43 2021
@@ -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 @@ struct drm_device {
#endif
};
+#ifdef __NetBSD__
+extern const struct cdevsw drm_cdevsw;
+#endif
+
#endif