diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-10-18 05:38:02 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-10-18 05:38:02 +0000 |
commit | 7fb975c8fb970b35fc34561ed30a0fe220346cb6 (patch) | |
tree | da0db9fd8cde1334db75c1cb9f71de722067058c /sys | |
parent | 9c950139051298831ce19d01ea5fb33ec6ea7f89 (diff) | |
download | src-7fb975c8fb970b35fc34561ed30a0fe220346cb6.tar.gz src-7fb975c8fb970b35fc34561ed30a0fe220346cb6.zip |
dpaa2: fix build without FDT
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/dpaa2/dpaa2_mc.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |