Make adding children consistant in the GICv3 drivers

Reorder statements to make them consistant between the ACPI and FDT
GICv3 attachments.

Reported by:	jrtc27
Sponsored by:	Innovate UK
This commit is contained in:
Andrew Turner 2022-09-23 12:05:10 +01:00
parent 839374bbfe
commit 7a5d47de97

View file

@ -432,8 +432,8 @@ gic_v3_acpi_bus_attach(device_t dev)
resource_list_init(&di->di_rl);
di->di_gic_dinfo.gic_domain = -1;
di->di_gic_dinfo.is_vgic = 1;
sc->gic_nchildren++;
device_set_ivars(child, di);
sc->gic_nchildren++;
}
}