Skip to content

Commit

Permalink
drivers net: Fix declaration ordering in inline functions.
Browse files Browse the repository at this point in the history
The correct usage should be "static inline void" instead of "static void inline"

Signed-off-by: G.Balaji <balajig81@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Balaji G authored and David S. Miller committed Mar 29, 2011
1 parent c211c96 commit bc8d7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -8317,7 +8317,7 @@ static const struct net_device_ops bnx2_netdev_ops = {
#endif
};

static void inline vlan_features_add(struct net_device *dev, u32 flags)
static inline void vlan_features_add(struct net_device *dev, u32 flags)
{
dev->vlan_features |= flags;
}
Expand Down

0 comments on commit bc8d7da

Please sign in to comment.