dpaa2: fix build without FDT
This commit is contained in:
parent
9c95013905
commit
7fb975c8fb
@ -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 New Issue
Block a user