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 const const const



details:   https://anonhg.NetBSD.org/src/rev/ca8c0bba88a4
branches:  trunk
changeset: 1028506:ca8c0bba88a4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:12:22 2021 +0000

description:
const const const


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 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 05c66fb15a15 -r ca8c0bba88a4 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:12:13 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h    Sun Dec 19 11:12:22 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_drv.h,v 1.38 2021/12/19 11:11:42 riastradh Exp $  */
+/*     $NetBSD: i915_drv.h,v 1.39 2021/12/19 11:12:22 riastradh Exp $  */
 
 /* i915_drv.h -- Private header for the I915 driver -*- linux-c -*-
  */
@@ -2004,10 +2004,10 @@
 #define I915_CMD_PARSER_TRAMPOLINE_SIZE 8
 
 /* intel_device_info.c */
-static inline struct intel_device_info *
+static inline const struct intel_device_info *
 mkwrite_device_info(struct drm_i915_private *dev_priv)
 {
-       return (struct intel_device_info *)INTEL_INFO(dev_priv);
+       return (const 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