OSDN Git Service

net: nixge: Make mdio child node optional
authorMoritz Fischer <mdf@kernel.org>
Mon, 4 Feb 2019 17:30:38 +0000 (09:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Feb 2019 18:34:34 +0000 (10:34 -0800)
commitdd648818dad3ad5ab5151c7f5ca0bb55a0bf71de
treedd183c09bab2ce91f812b204525ea5e011cb0c6e
parent5468e82f7034f0ae175a3ce075441356099bdaa3
net: nixge: Make mdio child node optional

Make MDIO child optional and only instantiate the
MDIO bus if the child is actually present.

There are currently no (in-tree) users of this
binding; all (out-of-tree) users use overlays that
get shipped together with the FPGA images that contain
the IP.

This will significantly increase maintainabilty
of future revisions of this IP.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/nixge.txt
drivers/net/ethernet/ni/nixge.c