summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/lantiq_etop.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-09-13 07:22:42 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-13 07:22:42 +0200
commitaaf9253025e80cf8f62d7b33670e84e838eec5a3 (patch)
treef13b307c8407cc05ff803c4d7f6a0967d85ce3ec /drivers/net/ethernet/lantiq_etop.c
parentdocs: net: Remove TCP congestion document (diff)
parentMerge tag 'drm-fixes-2018-09-12' of git://anongit.freedesktop.org/drm/drm (diff)
downloadlinux-aaf9253025e80cf8f62d7b33670e84e838eec5a3.tar.xz
linux-aaf9253025e80cf8f62d7b33670e84e838eec5a3.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
-rw-r--r--drivers/net/ethernet/lantiq_etop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index 7b25ba957d3f..5a7af52d9deb 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -274,6 +274,7 @@ ltq_etop_hw_init(struct net_device *dev)
struct ltq_etop_chan *ch = &priv->ch[i];
ch->idx = ch->dma.nr = i;
+ ch->dma.dev = &priv->pdev->dev;
if (IS_TX(i)) {
ltq_dma_alloc_tx(&ch->dma);