aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2009-04-19 03:24:24 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-20 05:15:01 -0400
commiteb39c57ff7782bc015da517af1d9c3b2592e721e (patch)
tree937fc5adeec22a9a631b42ca362ddb3e58b86ced
parent52cf3cc8acea52ecb93ef1dddb4ef2ae4e35c319 (diff)
net: fix "compatibility" typos
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/Kconfig4
-rw-r--r--net/core/dev.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 9e921544ba2..214a92d1ef7 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -28,9 +28,9 @@ if NETDEVICES
28 28
29config COMPAT_NET_DEV_OPS 29config COMPAT_NET_DEV_OPS
30 default y 30 default y
31 bool "Enable older network device API compatiablity" 31 bool "Enable older network device API compatibility"
32 ---help--- 32 ---help---
33 This option enables kernel compatiability with older network devices 33 This option enables kernel compatibility with older network devices
34 that do not use net_device_ops interface. 34 that do not use net_device_ops interface.
35 35
36 If unsure, say Y. 36 If unsure, say Y.
diff --git a/net/core/dev.c b/net/core/dev.c
index dcc357e4f91..001a4c551d4 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