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:
parent
c211c96989
commit
bc8d7da3f1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue