]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: make mvpp2_read_relaxed static
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 19 Sep 2018 09:27:07 +0000 (11:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:09:54 +0000 (21:09 -0700)
commitbdfe7f6f9d8d22885835f04ac7be35b3e0021ad6
treedccc2b2572c6f6e4dfe73846e03e91206736f61c
parent5d61dcaf6d3efc1112648617675fdbc583bf31a4
net: mvpp2: make mvpp2_read_relaxed static

In the Marvell PPv2 driver the mvpp2_read_relaxed function is only used
in a single file. Make it static and remove its prototype from the
header.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c