diff options
Diffstat (limited to 'drivers/net/dummy.c')
-rw-r--r-- | drivers/net/dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index 0932ffbf381b..ff435fbd1ad0 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c | |||
@@ -164,7 +164,7 @@ static int __init dummy_init_one(void) | |||
164 | struct net_device *dev_dummy; | 164 | struct net_device *dev_dummy; |
165 | int err; | 165 | int err; |
166 | 166 | ||
167 | dev_dummy = alloc_netdev(0, "dummy%d", dummy_setup); | 167 | dev_dummy = alloc_netdev(0, "dummy%d", NET_NAME_UNKNOWN, dummy_setup); |
168 | if (!dev_dummy) | 168 | if (!dev_dummy) |
169 | return -ENOMEM; | 169 | return -ENOMEM; |
170 | 170 | ||