[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180222180234.GA42693@lkp-ib04>
Date: Fri, 23 Feb 2018 02:02:34 +0800
From: kbuild test robot <lkp@...el.com>
To: Bryan Whitehead <Bryan.Whitehead@...rochip.com>
Cc: kbuild-all@...org, davem@...emloft.net,
UNGLinuxDriver@...rochip.com, netdev@...r.kernel.org
Subject: [RFC PATCH] lan743x: lan743x_csr_read() can be static
Fixes: 896121de80db ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
lan743x_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c
index 3de39e1..dd5ed86 100644
--- a/drivers/net/ethernet/microchip/lan743x_main.c
+++ b/drivers/net/ethernet/microchip/lan743x_main.c
@@ -65,12 +65,12 @@ static int lan743x_pci_init(struct lan743x_adapter *adapter,
return ret;
}
-u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset)
+static u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset)
{
return ioread32(&adapter->csr.csr_address[offset]);
}
-void lan743x_csr_write(struct lan743x_adapter *adapter, int offset, u32 data)
+static void lan743x_csr_write(struct lan743x_adapter *adapter, int offset, u32 data)
{
iowrite32(data, &adapter->csr.csr_address[offset]);
}
Powered by blists - more mailing lists