Hello,
commit 2f7600bc981cb0fd7ea0b92618bae32dcc778317
Author: Thierry Reding <[email protected]>
Date: Tue Apr 5 17:17:34 2016 +0200
phy: core: Allow children node to be overridden
In order to more flexibly support device tree bindings, allow drivers to
override the container of the child nodes. By default the device node of
the PHY provider is assumed to be the parent for children, but bindings
may decide to add additional levels for better organization.
this does not compile on !CONFIG_OF systems
drivers/phy/phy-core.c: In function ‘__of_phy_provider_register’:
drivers/phy/phy-core.c:848:13: error: implicit declaration of function
‘of_get_next_parent’ [-Werror=implicit-function-declaration]
parent = of_get_next_parent(parent);
^~~~~~~~~~~~~~~~~~
drivers/phy/phy-core.c:848:11: warning: assignment makes pointer from integer
without a cast [-Wint-conversion]
parent = of_get_next_parent(parent);
^
CC [M] drivers/net/usb/usbnet.o
cc1: some warnings being treated as errors
CC net/ipv4/proc.o
scripts/Makefile.build:289: recipe for target 'drivers/phy/phy-core.o' failed
make[2]: *** [drivers/phy/phy-core.o] Error 1
scripts/Makefile.build:440: recipe for target 'drivers/phy' failed
make[1]: *** [drivers/phy] Error 2
make[1]: *** Waiting for unfinished jobs....
-ss