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
6132573ef1
commit
b2d128e87b
@ -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 New Issue
Block a user