aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
diff options
context:
space:
mode:
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>2015-09-20 10:14:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 03:33:53 +0200
commit1153037d40327a7bfff655b94122d079d3140c6b (patch)
treea20d22c0595ced6c2f8ff86c43c0b4264e415a9e /drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
parentstaging: rtl8192e: Rename rtl819x_ethtool_get_drvinfo (diff)
downloadlinux-dev-1153037d40327a7bfff655b94122d079d3140c6b.tar.xz
linux-dev-1153037d40327a7bfff655b94122d079d3140c6b.zip
staging: rtl8192e: Rename rtl819x_ethtool_get_link
Use naming schema found in other rtlwifi devices. Rename rtl819x_ethtool_get_link to _rtl92e_ethtool_get_link. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c b/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
index 55ff519de4cc..1b83e9b2e484 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
@@ -39,7 +39,7 @@ static void _rtl92e_ethtool_get_drvinfo(struct net_device *dev,
strlcpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info));
}
-static u32 rtl819x_ethtool_get_link(struct net_device *dev)
+static u32 _rtl92e_ethtool_get_link(struct net_device *dev)
{
struct r8192_priv *priv = rtllib_priv(dev);
@@ -49,5 +49,5 @@ static u32 rtl819x_ethtool_get_link(struct net_device *dev)
const struct ethtool_ops rtl819x_ethtool_ops = {
.get_drvinfo = _rtl92e_ethtool_get_drvinfo,
- .get_link = rtl819x_ethtool_get_link,
+ .get_link = _rtl92e_ethtool_get_link,
};