summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-10 18:42:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-10 18:42:08 +0000
commit98b13e39ac63ab6ff2d69287b16a465669d68db1 (patch)
treed3b9a85ccb7953621b350e7640cebeec6aa8b66e /target
parentf97170a720ad1e3d22bf3fb1f06e9e4ce974860e (diff)
downloadmtk-20170518-98b13e39ac63ab6ff2d69287b16a465669d68db1.zip
mtk-20170518-98b13e39ac63ab6ff2d69287b16a465669d68db1.tar.gz
mtk-20170518-98b13e39ac63ab6ff2d69287b16a465669d68db1.tar.bz2
generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35546
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 492963d..2edd415 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -1756,7 +1756,7 @@ ar8xxx_mib_start(struct ar8216_priv *priv)
}
static void
-ar8xxx_mib_cleanup(struct ar8216_priv *priv)
+ar8xxx_mib_stop(struct ar8216_priv *priv)
{
if (!ar8xxx_has_mib_counters(priv))
return;
@@ -2071,7 +2071,7 @@ ar8216_remove(struct phy_device *pdev)
if (pdev->addr == 0)
unregister_switch(&priv->dev);
- ar8xxx_mib_cleanup(priv);
+ ar8xxx_mib_stop(priv);
ar8xxx_free(priv);
}