author: Tom Gundersen <teg@jklm.no> 2014-07-14 16:37:24 +0200
committer: David S. Miller <davem@davemloft.net> 2014-07-15 16:12:48 -0700
commit: c835a677331495cf137a7f8a023463afd9f032f8
parent: 238fa3623a5709d29673ed78ff8e714d040fbb89
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index c3986452194d..2c68da1ceeee 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -1460,7 +1460,8 @@ static int fwnet_probe(struct fw_unit *unit,
goto have_dev;
}
- net = alloc_netdev(sizeof(*dev), "firewire%d", fwnet_init_dev);
+ net = alloc_netdev(sizeof(*dev), "firewire%d", NET_NAME_UNKNOWN,
+ fwnet_init_dev);
if (net == NULL) {
mutex_unlock(&fwnet_device_mutex);
return -ENOMEM;