drivers net: Fix declaration ordering in inline functions.

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>
This commit is contained in:
Balaji G 2011-03-27 17:15:19 +00:00 committed by David S. Miller
parent c211c96989
commit bc8d7da3f1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}