]> Pileus Git - ~andy/linux/commitdiff
ath6kl: use netdev_features_t
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 17 Jan 2012 13:05:19 +0000 (15:05 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 18 Jan 2012 11:41:11 +0000 (13:41 +0200)
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>
drivers/net/wireless/ath/ath6kl/main.c

index 0a6d6e2be6e9e79c77b40c0d0c12153536f3eb35..3a3b2cc9940dbc3a59e47feca7d99b5f5f87f9d5 100644 (file)
@@ -1021,7 +1021,8 @@ static struct net_device_stats *ath6kl_get_stats(struct net_device *dev)
        return &vif->net_stats;
 }
 
-static int ath6kl_set_features(struct net_device *dev, u32 features)
+static int ath6kl_set_features(struct net_device *dev,
+                              netdev_features_t features)
 {
        struct ath6kl_vif *vif = netdev_priv(dev);
        struct ath6kl *ar = vif->ar;