mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
dpaa2: fix build without FDT
This commit is contained in:
parent
9c95013905
commit
7fb975c8fb
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue