diff options
Diffstat (limited to 'net/irda/irda_device.c')
-rw-r--r-- | net/irda/irda_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 365b895da84b..9e0d909390fd 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c | |||
@@ -293,7 +293,8 @@ static void irda_device_setup(struct net_device *dev) | |||
293 | */ | 293 | */ |
294 | struct net_device *alloc_irdadev(int sizeof_priv) | 294 | struct net_device *alloc_irdadev(int sizeof_priv) |
295 | { | 295 | { |
296 | return alloc_netdev(sizeof_priv, "irda%d", irda_device_setup); | 296 | return alloc_netdev(sizeof_priv, "irda%d", NET_NAME_UNKNOWN, |
297 | irda_device_setup); | ||
297 | } | 298 | } |
298 | EXPORT_SYMBOL(alloc_irdadev); | 299 | EXPORT_SYMBOL(alloc_irdadev); |
299 | 300 | ||