提交 5cfe33d6 编写于 作者: A Adrian Bunk 提交者: David S. Miller

e1000e: make a function static

This patch makes the needlessly global reg_pattern_test_array() static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 915e91d7
......@@ -690,8 +690,8 @@ static int e1000_set_ringparam(struct net_device *netdev,
return err;
}
bool reg_pattern_test_array(struct e1000_adapter *adapter, u64 *data,
int reg, int offset, u32 mask, u32 write)
static bool reg_pattern_test_array(struct e1000_adapter *adapter, u64 *data,
int reg, int offset, u32 mask, u32 write)
{
int i;
u32 read;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册