From: kbuild test robot Date: Fri, 1 Jun 2018 19:46:13 +0000 (+0800) Subject: net: mvpp2: mvpp2_percpu_read_relaxed() can be static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fe083b3f06e91cf8508f23922867e52348205825;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c index 45622bffd81ac..0319ed9ef8b81 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);