diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-04-26 23:48:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 23:48:23 -0400 |
commit | b86e0280bb5585a610783ff5392d9d439dee7ddd (patch) | |
tree | 150f65cdf5fd17a41c7c2042c0f90ebc6e9f0268 /include/linux/netdevice.h | |
parent | 4d44e0dfe961e02489d40d32334454ebe0e784e8 (diff) |
[WEXT] net_device: Don't include wext bits if not required.
This patch makes the wext bits in struct net_device depend on
CONFIG_WIRELESS_EXT.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 584c199ec2d5..e027a3750a77 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -352,12 +352,13 @@ struct net_device | |||
352 | struct net_device_stats* (*get_stats)(struct net_device *dev); | 352 | struct net_device_stats* (*get_stats)(struct net_device *dev); |
353 | struct net_device_stats stats; | 353 | struct net_device_stats stats; |
354 | 354 | ||
355 | #ifdef CONFIG_WIRELESS_EXT | ||
355 | /* List of functions to handle Wireless Extensions (instead of ioctl). | 356 | /* List of functions to handle Wireless Extensions (instead of ioctl). |
356 | * See <net/iw_handler.h> for details. Jean II */ | 357 | * See <net/iw_handler.h> for details. Jean II */ |
357 | const struct iw_handler_def * wireless_handlers; | 358 | const struct iw_handler_def * wireless_handlers; |
358 | /* Instance data managed by the core of Wireless Extensions. */ | 359 | /* Instance data managed by the core of Wireless Extensions. */ |
359 | struct iw_public_data * wireless_data; | 360 | struct iw_public_data * wireless_data; |
360 | 361 | #endif | |
361 | const struct ethtool_ops *ethtool_ops; | 362 | const struct ethtool_ops *ethtool_ops; |
362 | 363 | ||
363 | /* | 364 | /* |