tg3: Fix inline keyword usage
authorJavier Martinez Canillas <martinez.javier@gmail.com>
Sat, 26 Mar 2011 16:42:33 +0000 (16:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Mar 2011 06:35:06 +0000 (23:35 -0700)
The correct usage is "static inline void" not "static void inline".

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c

index 513565503f9090a5f0f23af4c1ee8faa89521106..73c942d85f074fde4eaaf5cb7ab5f540fa4d25cd 100644 (file)
@@ -13118,7 +13118,7 @@ done:
 
 static struct pci_dev * __devinit tg3_find_peer(struct tg3 *);
 
-static void inline vlan_features_add(struct net_device *dev, unsigned long flags)
+static inline void vlan_features_add(struct net_device *dev, unsigned long flags)
 {
        dev->vlan_features |= flags;
 }