net: fix "compatibility" typos
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 19 Apr 2009 07:24:24 +0000 (07:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2009 09:15:01 +0000 (02:15 -0700)
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
net/core/dev.c

index 9e921544ba207d71fa99d16a2c6784079fe39e96..214a92d1ef75938fd58f9adea4289074f5e11121 100644 (file)
@@ -28,9 +28,9 @@ if NETDEVICES
 
 config COMPAT_NET_DEV_OPS
        default y
-       bool "Enable older network device API compatiablity"
+       bool "Enable older network device API compatibility"
        ---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.
 
          If unsure, say Y.
index dcc357e4f91e565a962b4f4aea4a83aac704752d..001a4c551d4498f1c3c8f02f8b0b4992f3015359 100644 (file)
@@ -4405,7 +4405,7 @@ int register_netdevice(struct net_device *dev)
        dev->iflink = -1;
 
 #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.
         */
        if (dev->netdev_ops) {
@@ -4416,7 +4416,7 @@ int register_netdevice(struct net_device *dev)
                        dev->name, netdev_drivername(dev, drivername, 64));
 
                /* 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);
        }
 #endif