net/macb: Update device tree binding for resetting PHY using GPIO
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 17 Dec 2015 09:51:04 +0000 (10:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Dec 2015 20:53:22 +0000 (15:53 -0500)
commit270c499f0993a6b3a591eda6a5b96e873b1d84fa
treef39bdbfe623ebe46cd2d45ff7a7c468b418cc151
parent08f411d6a42dfa32842ef36e0e9743c34a7c942f
net/macb: Update device tree binding for resetting PHY using GPIO

Instead of being at the MAC level the reset gpio preperty is moved at the
PHY child node level. It is still managed by the MAC, but from the point
of view of the binding it make more sense to be part of the PHY node.

This commit also fixes a build errors if GPIOLIB is not selected.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/macb.txt
drivers/net/ethernet/cadence/macb.c