dev/ofw: Register the ofw_cpu xref

This allows it to be referenced by other devices.

Reviewed by:	jhibbits
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D53329
This commit is contained in:
Andrew Turner committed 2025-10-27 11:36:18 +00:00
1 parent 87cea227e1
commit d539f2d9d2
1 file changed
+1
+1
View File
@@ -332,6 +332,7 @@ ofw_cpu_attach(device_t dev)
device_printf(dev, "Nominal frequency %dMhz\n",
sc->sc_nominal_mhz);
OF_device_register_xref(OF_xref_from_node(node), dev);
bus_identify_children(dev);
bus_attach_children(dev);
return (0);