[RFC PATCH] net: encx24j600_open() can be static
From: kbuild test robot
Date: Thu Oct 01 2015 - 03:37:22 EST
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/