staging: rtl8192e: Rename rtl819x_ethtool_get_drvinfo
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:14:14 +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_drvinfo to _rtl92e_ethtool_get_drvinfo.

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 529ea54d16831fdffdf61bf0abf90bc2762ccc8c..55ff519de4cce9a279fc2c1182e0cc3ca47e67a3 100644 (file)
@@ -29,8 +29,8 @@
 
 #include "rtl_core.h"
 
-static void rtl819x_ethtool_get_drvinfo(struct net_device *dev,
-               struct ethtool_drvinfo *info)
+static void _rtl92e_ethtool_get_drvinfo(struct net_device *dev,
+                                       struct ethtool_drvinfo *info)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -48,6 +48,6 @@ static u32 rtl819x_ethtool_get_link(struct net_device *dev)
 }
 
 const struct ethtool_ops rtl819x_ethtool_ops = {
-       .get_drvinfo = rtl819x_ethtool_get_drvinfo,
+       .get_drvinfo = _rtl92e_ethtool_get_drvinfo,
        .get_link = rtl819x_ethtool_get_link,
 };