diff options
author | Zheng Zengkai <zhengzengkai@huawei.com> | 2020-05-07 10:03:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-07 21:55:29 +0200 |
commit | 31e2d067fd966188e47461f1b5d253405b3559fb (patch) | |
tree | 2b1ebfb0b7e86718c076021e56cd45fbfd7165ed | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | linux-31e2d067fd966188e47461f1b5d253405b3559fb.tar.xz linux-31e2d067fd966188e47461f1b5d253405b3559fb.zip |
net: phy: Make iproc_mdio_resume static
Fix sparse warnings:
drivers/net/phy/mdio-bcm-iproc.c:182:5: warning:
symbol 'iproc_mdio_resume' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/mdio-bcm-iproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-bcm-iproc.c b/drivers/net/phy/mdio-bcm-iproc.c index 38bf40e0d673..77fc970cdfde 100644 --- a/drivers/net/phy/mdio-bcm-iproc.c +++ b/drivers/net/phy/mdio-bcm-iproc.c @@ -179,7 +179,7 @@ static int iproc_mdio_remove(struct platform_device *pdev) } #ifdef CONFIG_PM_SLEEP -int iproc_mdio_resume(struct device *dev) +static int iproc_mdio_resume(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); struct iproc_mdio_priv *priv = platform_get_drvdata(pdev); |