Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 09:58:00 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm/ttm: ttm_tt.h

Log Message:
constify

Author: Maya Rashish <m...@netbsd.org>


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.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/ttm/ttm_tt.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h:1.3 src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h:1.4
--- src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h:1.3	Sun Dec 19 09:57:09 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h	Sun Dec 19 09:58:00 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ttm_tt.h,v 1.3 2021/12/19 09:57:09 riastradh Exp $	*/
+/*	$NetBSD: ttm_tt.h,v 1.4 2021/12/19 09:58:00 riastradh Exp $	*/
 
 /**************************************************************************
  *
@@ -106,7 +106,7 @@ struct ttm_backend_func {
  */
 struct ttm_tt {
 	struct ttm_bo_device *bdev;
-	struct ttm_backend_func *func;
+	const struct ttm_backend_func *func;
 	struct page **pages;
 	uint32_t page_flags;
 	unsigned long num_pages;

Reply via email to