Use naming schema found in other rtlwifi devices.
Rename rtl819x_ethtool_get_link to _rtl92e_ethtool_get_link.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikow...@gmail.com>
---
 drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c 
b/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
index 55ff519..1b83e9b 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,
 };
-- 
1.8.4.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to