[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301215710-8112-1-git-send-email-balajig81@gmail.com>
Date: Sun, 27 Mar 2011 14:18:30 +0530
From: "G.Balaji" <balajig81@...il.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, "G.Balaji" <balajig81@...il.com>
Subject: [PATCH] Change in inline keyword usage.
Signed-off-by: G.Balaji <balajig81@...il.com>
---
drivers/net/bnx2.c | 2 +-
drivers/net/tg3.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index d1865cc..8e6d618 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -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;
}
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index ebec888..bddcf25 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;
}
--
1.7.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists