Module Name:    src
Committed By:   martin
Date:           Mon Oct  7 13:54:59 UTC 2019

Modified Files:
        src/sys/dev/fdt: cpufreq_dt.c

Log Message:
Fix argument to fdtbus_get_reg, from Jared.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/fdt/cpufreq_dt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/fdt/cpufreq_dt.c
diff -u src/sys/dev/fdt/cpufreq_dt.c:1.9 src/sys/dev/fdt/cpufreq_dt.c:1.10
--- src/sys/dev/fdt/cpufreq_dt.c:1.9	Sun Oct  6 11:28:24 2019
+++ src/sys/dev/fdt/cpufreq_dt.c	Mon Oct  7 13:54:59 2019
@@ -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 <jmcne...@invisible.ca>
@@ -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 @@ cpufreq_dt_init_sysctl(struct cpufreq_dt
 	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)

Reply via email to