mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not warn if the 'assigned-clock-parents' property does not exists.
MFC after: 2 weeks
This commit is contained in:
parent
dd3dde9828
commit
ad6d341799
1 changed files with 3 additions and 1 deletions
|
|
@ -1205,7 +1205,9 @@ clk_set_assigned(device_t dev, phandle_t node)
|
|||
"assigned-clock-parents", "#clock-cells", &nclocks);
|
||||
|
||||
if (error != 0) {
|
||||
device_printf(dev, "cannot parse assigned-clock-parents property\n");
|
||||
if (error != ENOENT)
|
||||
device_printf(dev,
|
||||
"cannot parse assigned-clock-parents property\n");
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue