aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index dcc357e4f91e..001a4c551d44 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -4405,7 +4405,7 @@ int register_netdevice(struct net_device *dev)
4405 dev->iflink = -1; 4405 dev->iflink = -1;
4406 4406
4407#ifdef CONFIG_COMPAT_NET_DEV_OPS 4407#ifdef CONFIG_COMPAT_NET_DEV_OPS
4408 /* Netdevice_ops API compatiability support. 4408 /* Netdevice_ops API compatibility support.
4409 * This is temporary until all network devices are converted. 4409 * This is temporary until all network devices are converted.
4410 */ 4410 */
4411 if (dev->netdev_ops) { 4411 if (dev->netdev_ops) {
@@ -4416,7 +4416,7 @@ int register_netdevice(struct net_device *dev)
4416 dev->name, netdev_drivername(dev, drivername, 64)); 4416 dev->name, netdev_drivername(dev, drivername, 64));
4417 4417
4418 /* This works only because net_device_ops and the 4418 /* This works only because net_device_ops and the
4419 compatiablity structure are the same. */ 4419 compatibility structure are the same. */
4420 dev->netdev_ops = (void *) &(dev->init); 4420 dev->netdev_ops = (void *) &(dev->init);
4421 } 4421 }
4422#endif 4422#endif