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/ttm constify



details:   https://anonhg.NetBSD.org/src/rev/5f7071f390d8
branches:  trunk
changeset: 1028262:5f7071f390d8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:58:00 2021 +0000

description:
constify


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

diffstat:

 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 268c69a85e31 -r 5f7071f390d8 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h
--- a/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h       Sun Dec 19 09:57:51 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h       Sun Dec 19 09:58:00 2021 +0000
@@ -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_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;



Home | Main Index | Thread Index | Old Index