Coresight: provide device_attach method for FDT bus.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ruslan Bukin 2020-06-29 12:59:09 +00:00
parent 2bb049e6a7
commit 1ea7952510
2 changed files with 3 additions and 1 deletions

View File

@ -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
};

View File

@ -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
};