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:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 03:33:53 +0200
commitf4b27f60dc26db5ee34240fd5ecc7f66a93171a6 (patch)
tree85df877a07e69a1afa8c9242184735579208bd18 /drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
parentstaging: rtl8192e: Rename rtl8192_check_nic_enough_desc (diff)
downloadlinux-dev-f4b27f60dc26db5ee34240fd5ecc7f66a93171a6.tar.xz
linux-dev-f4b27f60dc26db5ee34240fd5ecc7f66a93171a6.zip
staging: rtl8192e: Rename rtl819x_ethtool_get_drvinfo
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>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c b/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
index 529ea54d1683..55ff519de4cc 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c
@@ -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,
};