aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorBalaji G <balajig81@gmail.com>2011-03-27 13:15:19 -0400
committerDavid S. Miller <davem@davemloft.net>2011-03-29 01:26:34 -0400
commitbc8d7da3f19191f86dcc8274cf1a3f2d6aeb0aaa (patch)
tree556252064eae022fe35f2f33b70f31d2eb88f6cc /drivers/net/bnx2.c
parentc211c9698920d2b114bd8fbf913c8bdab3918461 (diff)
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>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index d1865cc97313..8e6d618b5305 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -8317,7 +8317,7 @@ static const struct net_device_ops bnx2_netdev_ops = {
8317#endif 8317#endif
8318}; 8318};
8319 8319
8320static void inline vlan_features_add(struct net_device *dev, u32 flags) 8320static inline void vlan_features_add(struct net_device *dev, u32 flags)
8321{ 8321{
8322 dev->vlan_features |= flags; 8322 dev->vlan_features |= flags;
8323} 8323}