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/drm/i915 Remove local change to c...
details: https://anonhg.NetBSD.org/src/rev/8f5dc9deb105
branches: trunk
changeset: 1028550:8f5dc9deb105
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:18:18 2021 +0000
description:
Remove local change to constify, and remove const qualifier
We certainly write to this pointer in i915_driver_create with
memcpy.
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r ec4630953a69 -r 8f5dc9deb105 sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Sun Dec 19 11:18:09 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Sun Dec 19 11:18:18 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_drv.h,v 1.40 2021/12/19 11:17:19 riastradh Exp $ */
+/* $NetBSD: i915_drv.h,v 1.41 2021/12/19 11:18:18 riastradh Exp $ */
/* i915_drv.h -- Private header for the I915 driver -*- linux-c -*-
*/
@@ -918,7 +918,7 @@
struct drm_i915_private {
struct drm_device drm;
- const struct intel_device_info __info; /* Use INTEL_INFO() to access. */
+ struct intel_device_info __info; /* Use INTEL_INFO() to access. */
struct intel_runtime_info __runtime; /* Use RUNTIME_INFO() to access. */
struct intel_driver_caps caps;
@@ -2004,10 +2004,10 @@
#define I915_CMD_PARSER_TRAMPOLINE_SIZE 8
/* intel_device_info.c */
-static inline const struct intel_device_info *
+static inline struct intel_device_info *
mkwrite_device_info(struct drm_i915_private *dev_priv)
{
- return (const struct intel_device_info *)INTEL_INFO(dev_priv);
+ return (struct intel_device_info *)INTEL_INFO(dev_priv);
}
int i915_reg_read_ioctl(struct drm_device *dev, void *data,
Home |
Main Index |
Thread Index |
Old Index