diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index cf5894f0e6eb..24ac9083bc13 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1149,9 +1149,8 @@ static int dev_alloc_name_ns(struct net *net, | |||
1149 | return ret; | 1149 | return ret; |
1150 | } | 1150 | } |
1151 | 1151 | ||
1152 | static int dev_get_valid_name(struct net *net, | 1152 | int dev_get_valid_name(struct net *net, struct net_device *dev, |
1153 | struct net_device *dev, | 1153 | const char *name) |
1154 | const char *name) | ||
1155 | { | 1154 | { |
1156 | BUG_ON(!net); | 1155 | BUG_ON(!net); |
1157 | 1156 | ||
@@ -1167,6 +1166,7 @@ static int dev_get_valid_name(struct net *net, | |||
1167 | 1166 | ||
1168 | return 0; | 1167 | return 0; |
1169 | } | 1168 | } |
1169 | EXPORT_SYMBOL(dev_get_valid_name); | ||
1170 | 1170 | ||
1171 | /** | 1171 | /** |
1172 | * dev_change_name - change name of a device | 1172 | * dev_change_name - change name of a device |