Przeglądaj źródła

tg3: Fix inline keyword usage

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>
Javier Martinez Canillas 14 lat temu
rodzic
commit
6303e6e8da
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/net/tg3.c

+ 1 - 1
drivers/net/tg3.c

@@ -13118,7 +13118,7 @@ done:
 
 
 static struct pci_dev * __devinit tg3_find_peer(struct tg3 *);
 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;
 	dev->vlan_features |= flags;
 }
 }