projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27fd9de
)
tg3: Fix inline keyword usage
author
Javier Martinez Canillas
<martinez.javier@gmail.com>
Sat, 26 Mar 2011 16:42:33 +0000
(16:42 +0000)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index 513565503f9090a5f0f23af4c1ee8faa89521106..73c942d85f074fde4eaaf5cb7ab5f540fa4d25cd 100644
(file)
--- 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;
}