aboutsummaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
Diffstat (limited to 'net/netrom')
-rw-r--r--net/netrom/af_netrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
index ede50d197e10..71cf1bffea06 100644
--- a/net/netrom/af_netrom.c
+++ b/net/netrom/af_netrom.c
@@ -1418,7 +1418,7 @@ static int __init nr_proto_init(void)
1418 struct net_device *dev; 1418 struct net_device *dev;
1419 1419
1420 sprintf(name, "nr%d", i); 1420 sprintf(name, "nr%d", i);
1421 dev = alloc_netdev(0, name, nr_setup); 1421 dev = alloc_netdev(0, name, NET_NAME_UNKNOWN, nr_setup);
1422 if (!dev) { 1422 if (!dev) {
1423 printk(KERN_ERR "NET/ROM: nr_proto_init - unable to allocate device structure\n"); 1423 printk(KERN_ERR "NET/ROM: nr_proto_init - unable to allocate device structure\n");
1424 goto fail; 1424 goto fail;