The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=4680109c6bc425b0a3b76fad57888c239e918615
commit 4680109c6bc425b0a3b76fad57888c239e918615 Author: Michal Meloun <[email protected]> AuthorDate: 2026-09-15 08:18:44 +0000 Commit: Michal Meloun <[email protected]> CommitDate: 2026-09-19 08:51:16 +0000 ARMADA 8040: Adapt ICU driver to updated device tree. --- sys/arm/mv/mv_cp110_icu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/mv/mv_cp110_icu.c b/sys/arm/mv/mv_cp110_icu.c index d30f337f56fc..6d7069d6f153 100644 --- a/sys/arm/mv/mv_cp110_icu.c +++ b/sys/arm/mv/mv_cp110_icu.c @@ -137,7 +137,7 @@ mv_cp110_icu_attach(device_t dev) device_printf(dev, "cannot find msi-parent device\n"); return (ENXIO); } - if (bus_alloc_resources(dev, mv_cp110_icu_res_spec, &sc->res) != 0) { + if (bus_alloc_resources(device_get_parent(dev), mv_cp110_icu_res_spec, &sc->res) != 0) { device_printf(dev, "cannot allocate resources for device\n"); return (ENXIO); } @@ -164,7 +164,7 @@ mv_cp110_icu_attach(device_t dev) return (0); fail: - bus_release_resources(dev, mv_cp110_icu_res_spec, &sc->res); + bus_release_resources(device_get_parent(dev), mv_cp110_icu_res_spec, &sc->res); return (ENXIO); }
