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 Avoid discarding const...



details:   https://anonhg.NetBSD.org/src/rev/b7f673292392
branches:  trunk
changeset: 1028236:b7f673292392
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:54:20 2021 +0000

description:
Avoid discarding const qualifier


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

diffstat:

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

diffs (27 lines):

diff -r f4cc19d17bf5 -r b7f673292392 sys/external/bsd/drm2/dist/drm/radeon/radeon_cik.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_cik.c        Sun Dec 19 09:53:21 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_cik.c        Sun Dec 19 09:54:20 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_cik.c,v 1.5 2021/12/19 01:47:14 riastradh Exp $ */
+/*     $NetBSD: radeon_cik.c,v 1.6 2021/12/19 09:54:20 riastradh Exp $ */
 
 /*
  * Copyright 2012 Advanced Micro Devices, Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_cik.c,v 1.5 2021/12/19 01:47:14 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_cik.c,v 1.6 2021/12/19 09:54:20 riastradh Exp $");
 
 #include <linux/firmware.h>
 #include <linux/module.h>
@@ -1888,7 +1888,7 @@
        const __be32 *fw_data = NULL;
        const __le32 *new_fw_data = NULL;
        u32 running, tmp;
-       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