net: mvpp2: mvpp2_percpu_read_relaxed() can be static
authorkbuild test robot <[email protected]>
Fri, 1 Jun 2018 19:46:13 +0000 (03:46 +0800)
committerDavid S. Miller <[email protected]>
Mon, 4 Jun 2018 15:36:29 +0000 (11:36 -0400)
Fixes: db9d7d36eecc ("net: mvpp2: Split the PPv2 driver to a dedicated directory")
Signed-off-by: kbuild test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c

index 45622bffd81ac98deda80c41476c3956fbeedb05..0319ed9ef8b815518a490cdd098018fcda46738a 100644 (file)
@@ -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);