aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ppp')
-rw-r--r--drivers/net/ppp/ppp_generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index 91d6c1272fcf..5c002b1ef169 100644
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -2665,7 +2665,8 @@ ppp_create_interface(struct net *net, int unit, int *retp)
2665 int ret = -ENOMEM; 2665 int ret = -ENOMEM;
2666 int i; 2666 int i;
2667 2667
2668 dev = alloc_netdev(sizeof(struct ppp), "", ppp_setup); 2668 dev = alloc_netdev(sizeof(struct ppp), "", NET_NAME_UNKNOWN,
2669 ppp_setup);
2669 if (!dev) 2670 if (!dev)
2670 goto out1; 2671 goto out1;
2671 2672