Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1237082
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH] net: encx24j600_open() can be static |
| Date | 2015-10-01 09:40 +0200 |
| Message-ID | <qeGD7-5vh-7@gated-at.bofh.it> (permalink) |
| References | <qeGD7-5vh-9@gated-at.bofh.it> <qeFH5-4bi-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
encx24j600.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c
index 27065ec..b7cb168 100644
--- a/drivers/net/ethernet/microchip/encx24j600.c
+++ b/drivers/net/ethernet/microchip/encx24j600.c
@@ -772,7 +772,7 @@ static int encx24j600_set_mac_address(struct net_device *dev, void *addr)
return encx24j600_set_hw_macaddr(dev);
}
-int encx24j600_open(struct net_device *dev)
+static int encx24j600_open(struct net_device *dev)
{
struct encx24j600_priv *priv = netdev_priv(dev);
@@ -793,7 +793,7 @@ int encx24j600_open(struct net_device *dev)
return 0;
}
-int encx24j600_stop(struct net_device *dev)
+static int encx24j600_stop(struct net_device *dev)
{
struct encx24j600_priv *priv = netdev_priv(dev);
@@ -894,7 +894,7 @@ static netdev_tx_t encx24j600_tx(struct sk_buff *skb, struct net_device *dev)
}
/* Deal with a transmit timeout */
-void encx24j600_tx_timeout(struct net_device *dev)
+static void encx24j600_tx_timeout(struct net_device *dev)
{
struct encx24j600_priv *priv = netdev_priv(dev);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RFC PATCH] net: encx24j600_open() can be static kbuild test robot <lkp@intel.com> - 2015-10-01 09:40 +0200
csiph-web