aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-06-02 03:46:13 +0800
committerDavid S. Miller <davem@davemloft.net>2018-06-04 11:36:29 -0400
commitfe083b3f06e91cf8508f23922867e52348205825 (patch)
treec8bfcc98ea5d60284cbfcb906924685834413646
parentnet/packet: refine check for priv area size (diff)
downloadlinux-dev-fe083b3f06e91cf8508f23922867e52348205825.tar.xz
linux-dev-fe083b3f06e91cf8508f23922867e52348205825.zip
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@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
index 45622bffd81a..0319ed9ef8b8 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);