net: phy: phylink: Allow specifying PHY device flags
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 13 Dec 2017 00:00:25 +0000 (16:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 20:55:00 +0000 (15:55 -0500)
commit0a62964c9020208c08c8b0323db9ea0c5980876f
treee7f598988b1f565f66fe00db1ba47fd971ddfc1b
parent7268586baa530312041e597b518b5c6a05110df1
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 <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h