]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drivers net: Fix declaration ordering in inline functions.
authorBalaji G <balajig81@gmail.com>
Sun, 27 Mar 2011 17:15:19 +0000 (17:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Mar 2011 05:26:34 +0000 (22:26 -0700)
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>
drivers/net/bnx2.c

index d1865cc973130d2674bb8a3b907fca36ed293008..8e6d618b53052139981cf5cc6df6720d11382a0c 100644 (file)
@@ -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;
 }