summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas2011-03-26 17:42:33 +0100
committerDavid S. Miller2011-03-28 08:35:06 +0200
commit6303e6e8da770e62a4d38f7206fe046514276d14 (patch)
tree56b2407a21acc0fd8d13568c6fd3fcf83c5d87ff /drivers/net/tg3.c
parenttg3: use <linux/io.h> and <linux/uaccess.h> instead <asm/io.h> and <asm/uacce... (diff)
downloadkernel-qcow2-linux-6303e6e8da770e62a4d38f7206fe046514276d14.tar.gz
kernel-qcow2-linux-6303e6e8da770e62a4d38f7206fe046514276d14.tar.xz
kernel-qcow2-linux-6303e6e8da770e62a4d38f7206fe046514276d14.zip
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>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 513565503f90..73c942d85f07 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -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;
}