net: stmmac: make stmmac_{probe|remove}_config_dt static
authorJisheng Zhang <jszhang@kernel.org>
Sat, 16 Sep 2023 07:58:29 +0000 (15:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 11:44:36 +0000 (12:44 +0100)
commitb2504f649bda92094dedfb721c7d49f9a348d500
tree20f804566bd4167b52b10129a13227462b44600c
parent2c9fc838067b02cb3e6057fef5cd7cf1c04a95aa
net: stmmac: make stmmac_{probe|remove}_config_dt static

Now there's no external users of these two functions, make them static
so that there aren't any new usages of stmmac_probe_config_dt().

To avoid forward declaration, move stmmac_remove_config_dt() location.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Suggested-by: Russell King <linux@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h