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 32-bit build
details: https://anonhg.NetBSD.org/src/rev/45e3369e02cd
branches: trunk
changeset: 833573:45e3369e02cd
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Jul 01 21:21:56 2018 +0000
description:
Fix 32-bit build
diffstat:
sys/dev/fdt/dwcmmc_fdt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 03b87898a503 -r 45e3369e02cd sys/dev/fdt/dwcmmc_fdt.c
--- a/sys/dev/fdt/dwcmmc_fdt.c Sun Jul 01 21:15:02 2018 +0000
+++ b/sys/dev/fdt/dwcmmc_fdt.c Sun Jul 01 21:21:56 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwcmmc_fdt.c,v 1.3 2018/06/22 10:17:04 jmcneill Exp $ */
+/* $NetBSD: dwcmmc_fdt.c,v 1.4 2018/07/01 21:21:56 jmcneill Exp $ */
/*-
* Copyright (c) 2015-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwcmmc_fdt.c,v 1.3 2018/06/22 10:17:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwcmmc_fdt.c,v 1.4 2018/07/01 21:21:56 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -133,7 +133,7 @@
(uint64_t)addr, error);
return;
}
- esc->sc_conf = of_search_compatible(phandle, compat_data)->data;
+ esc->sc_conf = (void *)of_search_compatible(phandle, compat_data)->data;
if (of_getprop_uint32(phandle, "max-frequency", &sc->sc_clock_freq) != 0)
Home |
Main Index |
Thread Index |
Old Index