Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/fdt Fix argument to fdtbus_get_reg, from Jared.



details:   https://anonhg.NetBSD.org/src/rev/108c038b270f
branches:  trunk
changeset: 460094:108c038b270f
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Oct 07 13:54:59 2019 +0000

description:
Fix argument to fdtbus_get_reg, from Jared.

diffstat:

 sys/dev/fdt/cpufreq_dt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f578b5fcd5d5 -r 108c038b270f sys/dev/fdt/cpufreq_dt.c
--- a/sys/dev/fdt/cpufreq_dt.c  Mon Oct 07 11:53:40 2019 +0000
+++ b/sys/dev/fdt/cpufreq_dt.c  Mon Oct 07 13:54:59 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufreq_dt.c,v 1.9 2019/10/06 11:28:24 jmcneill Exp $ */
+/* $NetBSD: cpufreq_dt.c,v 1.10 2019/10/07 13:54:59 martin Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.9 2019/10/06 11:28:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.10 2019/10/07 13:54:59 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -271,7 +271,7 @@
        const struct sysctlnode *node, *cpunode;
        struct sysctllog *cpufreq_log = NULL;
        struct cpu_info *ci;
-       uint64_t mpidr;
+       bus_addr_t mpidr;
        int error, i;
 
        if (fdtbus_get_reg(sc->sc_phandle, 0, &mpidr, 0) != 0)



Home | Main Index | Thread Index | Old Index