diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 58b73b08dde0..3ff1f425f1bb 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -757,8 +757,7 @@ EXPORT_SYMBOL(phy_start); | |||
757 | */ | 757 | */ |
758 | static void phy_state_machine(struct work_struct *work) | 758 | static void phy_state_machine(struct work_struct *work) |
759 | { | 759 | { |
760 | struct delayed_work *dwork = | 760 | struct delayed_work *dwork = to_delayed_work(work); |
761 | container_of(work, struct delayed_work, work); | ||
762 | struct phy_device *phydev = | 761 | struct phy_device *phydev = |
763 | container_of(dwork, struct phy_device, state_queue); | 762 | container_of(dwork, struct phy_device, state_queue); |
764 | int needs_aneg = 0; | 763 | int needs_aneg = 0; |