diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-17 08:05:19 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-18 06:41:11 -0500 |
commit | d6f802612af55cc1b3699d119a04dfa2fc8812a0 (patch) | |
tree | 132dbef3b75f5b68e206446f1e3fee112b09d2c0 /drivers/net | |
parent | a0afd4f7c1ff8cb7a9747150500f8ce081fbcfc9 (diff) |
ath6kl: use netdev_features_t
Commit c8f44affb7 ("net: introduce and use netdev_features_t for
device features sets") added netdev_features_t to ndo_set_features.
Change ath6kl to use the new type.
This fixes a warning:
ath6kl/main.c:1170: warning: initialization from incompatible pointer type
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index 0a6d6e2be6e9..3a3b2cc9940d 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c | |||
@@ -1021,7 +1021,8 @@ static struct net_device_stats *ath6kl_get_stats(struct net_device *dev) | |||
1021 | return &vif->net_stats; | 1021 | return &vif->net_stats; |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | static int ath6kl_set_features(struct net_device *dev, u32 features) | 1024 | static int ath6kl_set_features(struct net_device *dev, |
1025 | netdev_features_t features) | ||
1025 | { | 1026 | { |
1026 | struct ath6kl_vif *vif = netdev_priv(dev); | 1027 | struct ath6kl_vif *vif = netdev_priv(dev); |
1027 | struct ath6kl *ar = vif->ar; | 1028 | struct ath6kl *ar = vif->ar; |