[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180601194613.GA44770@xian>
Date: Sat, 2 Jun 2018 03:46:13 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Antoine Tenart <antoine.tenart@...tlin.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Yan Markman <ymarkman@...vell.com>,
Stefan Chulski <stefanc@...vell.com>,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH net-next] net: mvpp2: mvpp2_percpu_read_relaxed() can be
static
Fixes: db9d7d36eecc ("net: mvpp2: Split the PPv2 driver to a dedicated directory")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
mvpp2_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
index 45622bf..0319ed9 100644
--- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
+++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
@@ -141,7 +141,7 @@ void mvpp2_percpu_write_relaxed(struct mvpp2 *priv, int cpu,
writel_relaxed(data, priv->swth_base[cpu] + offset);
}
-u32 mvpp2_percpu_read_relaxed(struct mvpp2 *priv, int cpu,
+static u32 mvpp2_percpu_read_relaxed(struct mvpp2 *priv, int cpu,
u32 offset)
{
return readl_relaxed(priv->swth_base[cpu] + offset);
Powered by blists - more mailing lists