aboutsummaryrefslogtreecommitdiffstats
path: root/net/hsr/hsr_device.c
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2019-04-15 11:36:01 -0400
committerDavid S. Miller <davem@davemloft.net>2019-04-15 17:22:01 -0700
commit9c5f8a19b2de2860d4b7764204c52832ac0f4440 (patch)
tree30232de82c7b3dd5f825ff4341229a4049745aa8 /net/hsr/hsr_device.c
parentnet: phy: switch drivers to use dynamic feature detection (diff)
downloadlinux-dev-9c5f8a19b2de2860d4b7764204c52832ac0f4440.tar.xz
linux-dev-9c5f8a19b2de2860d4b7764204c52832ac0f4440.zip
net: hsr: fix naming of file and functions
Fix the file name and functions to match with existing implementation. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_device.c')
-rw-r--r--net/hsr/hsr_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c
index b47a621e3f4e..58cf500ebf94 100644
--- a/net/hsr/hsr_device.c
+++ b/net/hsr/hsr_device.c
@@ -354,7 +354,7 @@ static void hsr_dev_destroy(struct net_device *hsr_dev)
hsr = netdev_priv(hsr_dev);
- hsr_prp_debugfs_term(hsr);
+ hsr_debugfs_term(hsr);
rtnl_lock();
hsr_for_each_port(hsr, port)
@@ -485,7 +485,7 @@ int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
goto fail;
mod_timer(&hsr->prune_timer, jiffies + msecs_to_jiffies(PRUNE_PERIOD));
- res = hsr_prp_debugfs_init(hsr);
+ res = hsr_debugfs_init(hsr);
if (res)
goto fail;