diff options
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r-- | drivers/net/dm9000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index 254ec62b5f58..d8350860c0f8 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
@@ -559,7 +559,7 @@ static void dm9000_show_carrier(board_info_t *db, | |||
559 | static void | 559 | static void |
560 | dm9000_poll_work(struct work_struct *w) | 560 | dm9000_poll_work(struct work_struct *w) |
561 | { | 561 | { |
562 | struct delayed_work *dw = container_of(w, struct delayed_work, work); | 562 | struct delayed_work *dw = to_delayed_work(w); |
563 | board_info_t *db = container_of(dw, board_info_t, phy_poll); | 563 | board_info_t *db = container_of(dw, board_info_t, phy_poll); |
564 | struct net_device *ndev = db->ndev; | 564 | struct net_device *ndev = db->ndev; |
565 | 565 | ||