git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: set name_assign_type in alloc_netdev()
[sfrench/cifs-2.6.git]
/
net
/
802
/
fc.c
diff --git
a/net/802/fc.c
b/net/802/fc.c
index 05eea6b98bb85ec54b4ad86f5f4e9d0650068588..7c174b6750cd654c49d7c1d2f621eb9fc3ed1ef0 100644
(file)
--- a/
net/802/fc.c
+++ b/
net/802/fc.c
@@
-126,6
+126,6
@@
static void fc_setup(struct net_device *dev)
*/
struct net_device *alloc_fcdev(int sizeof_priv)
{
- return alloc_netdev(sizeof_priv, "fc%d", fc_setup);
+ return alloc_netdev(sizeof_priv, "fc%d",
NET_NAME_UNKNOWN,
fc_setup);
}
EXPORT_SYMBOL(alloc_fcdev);