diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-11-15 10:29:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-16 17:43:10 -0500 |
commit | c8f44affb7244f2ac3e703cab13d55ede27621bb (patch) | |
tree | 62e7aea2916a8d7cab825fe500670c5113854c0f /drivers/net/ethernet/broadcom/bnx2.c | |
parent | a59e2ecb859f2ab03bb2e230709f8039472ad2c3 (diff) |
net: introduce and use netdev_features_t for device features sets
v2: add couple missing conversions in drivers
split unexporting netdev_fix_features()
implemented %pNF
convert sock::sk_route_(no?)caps
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 32d1f92a2479..7203f37d2ef3 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c | |||
@@ -7571,8 +7571,8 @@ bnx2_set_phys_id(struct net_device *dev, enum ethtool_phys_id_state state) | |||
7571 | return 0; | 7571 | return 0; |
7572 | } | 7572 | } |
7573 | 7573 | ||
7574 | static u32 | 7574 | static netdev_features_t |
7575 | bnx2_fix_features(struct net_device *dev, u32 features) | 7575 | bnx2_fix_features(struct net_device *dev, netdev_features_t features) |
7576 | { | 7576 | { |
7577 | struct bnx2 *bp = netdev_priv(dev); | 7577 | struct bnx2 *bp = netdev_priv(dev); |
7578 | 7578 | ||
@@ -7583,7 +7583,7 @@ bnx2_fix_features(struct net_device *dev, u32 features) | |||
7583 | } | 7583 | } |
7584 | 7584 | ||
7585 | static int | 7585 | static int |
7586 | bnx2_set_features(struct net_device *dev, u32 features) | 7586 | bnx2_set_features(struct net_device *dev, netdev_features_t features) |
7587 | { | 7587 | { |
7588 | struct bnx2 *bp = netdev_priv(dev); | 7588 | struct bnx2 *bp = netdev_priv(dev); |
7589 | 7589 | ||