staging: rtl8192e: Rename rtl819x_ethtool_get_link
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:14:15 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:53 +0000 (03:33 +0200)
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>
drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c

index 55ff519de4cce9a279fc2c1182e0cc3ca47e67a3..1b83e9b2e48489c11e072ec4ff8632c6a577a005 100644 (file)
@@ -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,
 };