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 588b473194a8..11596a302a26 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1147,9 +1147,8 @@ static int dev_alloc_name_ns(struct net *net, | |||
1147 | return ret; | 1147 | return ret; |
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | static int dev_get_valid_name(struct net *net, | 1150 | int dev_get_valid_name(struct net *net, struct net_device *dev, |
1151 | struct net_device *dev, | 1151 | const char *name) |
1152 | const char *name) | ||
1153 | { | 1152 | { |
1154 | BUG_ON(!net); | 1153 | BUG_ON(!net); |
1155 | 1154 | ||
@@ -1165,6 +1164,7 @@ static int dev_get_valid_name(struct net *net, | |||
1165 | 1164 | ||
1166 | return 0; | 1165 | return 0; |
1167 | } | 1166 | } |
1167 | EXPORT_SYMBOL(dev_get_valid_name); | ||
1168 | 1168 | ||
1169 | /** | 1169 | /** |
1170 | * dev_change_name - change name of a device | 1170 | * dev_change_name - change name of a device |