Skip to content

Commit

Permalink
net: fix "compatibility" typos
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Marcin Slusarz authored and David S. Miller committed Apr 20, 2009
1 parent 52cf3cc commit eb39c57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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
Expand Down

0 comments on commit eb39c57

Please sign in to comment.