Make sure error is defined in dpaa2
The error variable is used in both the ACPI and FDT paths. Declare it unconditionally. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c8113dad7e
commit
ff270fce16
@ -747,8 +747,8 @@ dpaa2_mc_get_xref(device_t mcdev, device_t child)
|
||||
#endif
|
||||
#ifdef FDT
|
||||
phandle_t msi_parent;
|
||||
int error;
|
||||
#endif
|
||||
int error;
|
||||
|
||||
if (sc && dinfo) {
|
||||
#ifdef DEV_ACPI
|
||||
|
Loading…
x
Reference in New Issue
Block a user