summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorBalaji G <balajig81@gmail.com>2011-03-27 19:15:19 +0200
committerDavid S. Miller <davem@davemloft.net>2011-03-29 07:26:34 +0200
commitbc8d7da3f19191f86dcc8274cf1a3f2d6aeb0aaa (patch)
tree556252064eae022fe35f2f33b70f31d2eb88f6cc /drivers/net/bnx2.c
parentcxgb3: Apply interrupt coalescing settings to all queues (diff)
downloadlinux-bc8d7da3f19191f86dcc8274cf1a3f2d6aeb0aaa.tar.xz
linux-bc8d7da3f19191f86dcc8274cf1a3f2d6aeb0aaa.zip
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 = {
#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;
}