diff mbox

[RFC] arcnet: com20020: com20020_netdev_open() can be static

Message ID 20151021171853.GA82900@lkp-ib04.intel.com
State RFC, archived
Delegated to: David Miller
Headers show

Commit Message

kernel test robot Oct. 21, 2015, 5:18 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 com20020.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 436951b..13d9ad4 100644
--- a/drivers/net/arcnet/com20020.c
+++ b/drivers/net/arcnet/com20020.c
@@ -164,7 +164,7 @@  static int com20020_set_hwaddr(struct net_device *dev, void *addr)
 	return 0;
 }
 
-int com20020_netdev_open(struct net_device *dev)
+static int com20020_netdev_open(struct net_device *dev)
 {
 	int ioaddr = dev->base_addr;
 	struct arcnet_local *lp = netdev_priv(dev);
@@ -175,7 +175,7 @@  int com20020_netdev_open(struct net_device *dev)
 	return arcnet_open(dev);
 }
 
-int com20020_netdev_close(struct net_device *dev)
+static int com20020_netdev_close(struct net_device *dev)
 {
 	int ioaddr = dev->base_addr;
 	struct arcnet_local *lp = netdev_priv(dev);