[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151001073618.GA128136@xian>
Date: Thu, 1 Oct 2015 15:36:19 +0800
From: kbuild test robot <lkp@...el.com>
To: jon@...gle.org
Cc: kbuild-all@...org, broonie@...nel.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Jon Ringle <jringle@...dpoint.com>
Subject: [RFC PATCH] net: encx24j600_open() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@...el.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists