Date: Tue, 18 Oct 2022 05:40:21 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7fb975c8fb97 - main - dpaa2: fix build without FDT Message-ID: <202210180540.29I5eLc3067818@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7fb975c8fb970b35fc34561ed30a0fe220346cb6 commit 7fb975c8fb970b35fc34561ed30a0fe220346cb6 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2022-10-18 05:38:02 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2022-10-18 05:38:02 +0000 dpaa2: fix build without FDT --- sys/dev/dpaa2/dpaa2_mc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/dpaa2/dpaa2_mc.c b/sys/dev/dpaa2/dpaa2_mc.c index 36e3166f1f84..83563b82c6c7 100644 --- a/sys/dev/dpaa2/dpaa2_mc.c +++ b/sys/dev/dpaa2/dpaa2_mc.c @@ -742,11 +742,13 @@ dpaa2_mc_get_xref(device_t mcdev, device_t child) { struct dpaa2_mc_softc *sc = device_get_softc(mcdev); struct dpaa2_devinfo *dinfo = device_get_ivars(child); - phandle_t msi_parent; #ifdef DEV_ACPI u_int xref, devid; #endif +#ifdef FDT + phandle_t msi_parent; int error; +#endif if (sc && dinfo) { #ifdef DEV_ACPI
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210180540.29I5eLc3067818>