Commit eb39c57f authored by Marcin Slusarz's avatar Marcin Slusarz Committed by David S. Miller

net: fix "compatibility" typos

Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52cf3cc8
...@@ -28,9 +28,9 @@ if NETDEVICES ...@@ -28,9 +28,9 @@ if NETDEVICES
config COMPAT_NET_DEV_OPS config COMPAT_NET_DEV_OPS
default y default y
bool "Enable older network device API compatiablity" bool "Enable older network device API compatibility"
---help--- ---help---
This option enables kernel compatiability with older network devices This option enables kernel compatibility with older network devices
that do not use net_device_ops interface. that do not use net_device_ops interface.
If unsure, say Y. If unsure, say Y.
......
...@@ -4405,7 +4405,7 @@ int register_netdevice(struct net_device *dev) ...@@ -4405,7 +4405,7 @@ int register_netdevice(struct net_device *dev)
dev->iflink = -1; dev->iflink = -1;
#ifdef CONFIG_COMPAT_NET_DEV_OPS #ifdef CONFIG_COMPAT_NET_DEV_OPS
/* Netdevice_ops API compatiability support. /* Netdevice_ops API compatibility support.
* This is temporary until all network devices are converted. * This is temporary until all network devices are converted.
*/ */
if (dev->netdev_ops) { if (dev->netdev_ops) {
...@@ -4416,7 +4416,7 @@ int register_netdevice(struct net_device *dev) ...@@ -4416,7 +4416,7 @@ int register_netdevice(struct net_device *dev)
dev->name, netdev_drivername(dev, drivername, 64)); dev->name, netdev_drivername(dev, drivername, 64));
/* This works only because net_device_ops and the /* This works only because net_device_ops and the
compatiablity structure are the same. */ compatibility structure are the same. */
dev->netdev_ops = (void *) &(dev->init); dev->netdev_ops = (void *) &(dev->init);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment