diff --git a/sys/arm64/coresight/coresight_funnel_fdt.c b/sys/arm64/coresight/coresight_funnel_fdt.c index 92951e7b3ec9..c3cbad2224d8 100644 --- a/sys/arm64/coresight/coresight_funnel_fdt.c +++ b/sys/arm64/coresight/coresight_funnel_fdt.c @@ -93,6 +93,7 @@ funnel_fdt_attach(device_t dev) static device_method_t funnel_fdt_methods[] = { /* Device interface */ DEVMETHOD(device_probe, funnel_fdt_probe), + DEVMETHOD(device_attach, funnel_fdt_attach), DEVMETHOD_END }; diff --git a/sys/arm64/coresight/coresight_replicator_fdt.c b/sys/arm64/coresight/coresight_replicator_fdt.c index 8c5bde1974a8..6744880369b1 100644 --- a/sys/arm64/coresight/coresight_replicator_fdt.c +++ b/sys/arm64/coresight/coresight_replicator_fdt.c @@ -68,7 +68,7 @@ replicator_fdt_probe(device_t dev) } static int -replicator_acpi_attach(device_t dev) +replicator_fdt_attach(device_t dev) { struct replicator_softc *sc; @@ -81,6 +81,7 @@ replicator_acpi_attach(device_t dev) static device_method_t replicator_fdt_methods[] = { /* Device interface */ DEVMETHOD(device_probe, replicator_fdt_probe), + DEVMETHOD(device_attach, replicator_fdt_attach), DEVMETHOD_END };