mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Reimplement fdt_clock_register_provider() correctly. It turns out you
can't use OF_xref_from_device() to implement the function that registers the xref association with the device. Pointy hat: ian Submitted by: loos
This commit is contained in:
parent
11c0b69c08
commit
50878a7bbd
1 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,8 @@ void
|
|||
fdt_clock_register_provider(device_t provider)
|
||||
{
|
||||
|
||||
OF_device_register_xref(OF_xref_from_device(provider), provider);
|
||||
OF_device_register_xref(
|
||||
OF_xref_from_node(ofw_bus_get_node(provider)), provider);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue