Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe083b3f authored by kbuild test robot's avatar kbuild test robot Committed by David S. Miller
Browse files

net: mvpp2: mvpp2_percpu_read_relaxed() can be static



Fixes: db9d7d36 ("net: mvpp2: Split the PPv2 driver to a dedicated directory")
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eb73190f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);