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



details:   https://anonhg.NetBSD.org/src/rev/4c7c7ac2dcc3
branches:  trunk
changeset: 1028251:4c7c7ac2dcc3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:56:27 2021 +0000

description:
constify


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

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4f1cb9affa12 -r 4c7c7ac2dcc3 sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c Sun Dec 19 09:56:17 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c Sun Dec 19 09:56:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_si.c,v 1.3 2021/12/18 23:45:43 riastradh Exp $  */
+/*     $NetBSD: radeon_si.c,v 1.4 2021/12/19 09:56:27 riastradh Exp $  */
 
 /*
  * Copyright 2011 Advanced Micro Devices, Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_si.c,v 1.3 2021/12/18 23:45:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_si.c,v 1.4 2021/12/19 09:56:27 riastradh Exp $");
 
 #include <linux/firmware.h>
 #include <linux/module.h>
@@ -1585,7 +1585,7 @@
        const __be32 *fw_data = NULL;
        const __le32 *new_fw_data = NULL;
        u32 running;
-       u32 *io_mc_regs = NULL;
+       const u32 *io_mc_regs = NULL;
        const __le32 *new_io_mc_regs = NULL;
        int i, regs_size, ucode_size;
 



Home | Main Index | Thread Index | Old Index