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/amd/display/dc amdgpu: Omit t...



details:   https://anonhg.NetBSD.org/src/rev/76744d3ddd9b
branches:  trunk
changeset: 1028587:76744d3ddd9b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:23:16 2021 +0000

description:
amdgpu: Omit troublesome const in clock_source_funcs.

diffstat:

 sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/amdgpu_dce_clock_source.c |  6 +++---
 sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/clock_source.h            |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r aba91f65a315 -r 76744d3ddd9b sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/amdgpu_dce_clock_source.c
--- a/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/amdgpu_dce_clock_source.c       Sun Dec 19 11:23:09 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/amdgpu_dce_clock_source.c       Sun Dec 19 11:23:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amdgpu_dce_clock_source.c,v 1.2 2021/12/18 23:45:02 riastradh Exp $    */
+/*     $NetBSD: amdgpu_dce_clock_source.c,v 1.3 2021/12/19 11:23:16 riastradh Exp $    */
 
 /*
  * Copyright 2012-15 Advanced Micro Devices, Inc.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_dce_clock_source.c,v 1.2 2021/12/18 23:45:02 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_dce_clock_source.c,v 1.3 2021/12/19 11:23:16 riastradh Exp $");
 
 #include <linux/slab.h>
 
@@ -988,7 +988,7 @@
 }
 
 static bool get_pixel_clk_frequency_100hz(
-               const struct clock_source *clock_source,
+               struct clock_source *clock_source,
                unsigned int inst,
                unsigned int *pixel_clk_khz)
 {
diff -r aba91f65a315 -r 76744d3ddd9b sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/clock_source.h
--- a/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/clock_source.h  Sun Dec 19 11:23:09 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/clock_source.h  Sun Dec 19 11:23:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock_source.h,v 1.2 2021/12/18 23:45:05 riastradh Exp $       */
+/*     $NetBSD: clock_source.h,v 1.3 2021/12/19 11:23:17 riastradh Exp $       */
 
 /*
  * Copyright 2012-15 Advanced Micro Devices, Inc.
@@ -169,7 +169,7 @@
                        struct pixel_clk_params *,
                        struct pll_settings *);
        bool (*get_pixel_clk_frequency_100hz)(
-                       const struct clock_source *clock_source,
+                       struct clock_source *clock_source,
                        unsigned int inst,
                        unsigned int *pixel_clk_khz);
 };



Home | Main Index | Thread Index | Old Index