summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBalaji G <balajig81@gmail.com>2011-03-27 17:15:19 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-28 22:26:34 -0700
commitbc8d7da3f19191f86dcc8274cf1a3f2d6aeb0aaa (patch)
tree556252064eae022fe35f2f33b70f31d2eb88f6cc /drivers
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')
-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 = {
#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;
}