diff options
| author | Florian Fainelli <[email protected]> | 2017-12-12 16:00:25 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-12-13 15:55:00 -0500 |
| commit | 0a62964c9020208c08c8b0323db9ea0c5980876f (patch) | |
| tree | e7f598988b1f565f66fe00db1ba47fd971ddfc1b /include/linux/phylink.h | |
| parent | 7268586baa530312041e597b518b5c6a05110df1 (diff) | |
net: phy: phylink: Allow specifying PHY device flags
In order to let subsystems like DSA fully utilize PHYLINK, we need to be able
to communicate phy_device::flags from of_phy_{connect,attach} even when using
PHYLINK APIs.
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/phylink.h')
| -rw-r--r-- | include/linux/phylink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h index 4f0f452ff38d..36e342b450c7 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -188,7 +188,7 @@ struct phylink *phylink_create(struct net_device *, struct fwnode_handle *, void phylink_destroy(struct phylink *); int phylink_connect_phy(struct phylink *, struct phy_device *); -int phylink_of_phy_connect(struct phylink *, struct device_node *); +int phylink_of_phy_connect(struct phylink *, struct device_node *, u32 flags); void phylink_disconnect_phy(struct phylink *); void phylink_mac_change(struct phylink *, bool up); |
