mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue