net: phylib: add link_change_notify callback to phy device
authorDaniel Mack <zonque@gmail.com>
Wed, 18 Jun 2014 09:01:41 +0000 (11:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jun 2014 22:50:00 +0000 (15:50 -0700)
commit2b8f2a28eac1d35a432705d269f02bdaeba9be8f
treef7115b72a1f524f7edfaf75b0d60146a104dd2bf
parent916c1689a09bc1ca81f2d7a34876f8d35aadd11b
net: phylib: add link_change_notify callback to phy device

Add a notify callback to inform phy drivers when the core is about to
do its link adjustment. No change for drivers that do not implement
this callback.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h