summaryrefslogtreecommitdiff
path: root/drivers/net/wan/dlci.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-20 10:16:07 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-20 10:16:07 +0800
commit571949a40a9c00fdaa3d0256cf43c9e0c25ff2d1 (patch)
tree7edcc302961329a7a3c4d2942f6c2300b4765345 /drivers/net/wan/dlci.c
parent21bdb3b071a7c6f34999545092bf15480ab95f49 (diff)
parent41f1830f5a7af77cf5c86359aba3cbd706687e52 (diff)
Merge 4.12-rc6 into usb-next
We want the USB fixes in here. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wan/dlci.c')
-rw-r--r--drivers/net/wan/dlci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c
index 65ee2a6f248c..a0d76f70c428 100644
--- a/drivers/net/wan/dlci.c
+++ b/drivers/net/wan/dlci.c
@@ -475,7 +475,7 @@ static void dlci_setup(struct net_device *dev)
dev->flags = 0;
dev->header_ops = &dlci_header_ops;
dev->netdev_ops = &dlci_netdev_ops;
- dev->destructor = free_netdev;
+ dev->needs_free_netdev = true;
dlp->receive = dlci_receive;