Commit f4b27f60 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

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: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 288adaf5
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#include "rtl_core.h" #include "rtl_core.h"
static void rtl819x_ethtool_get_drvinfo(struct net_device *dev, static void _rtl92e_ethtool_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info) struct ethtool_drvinfo *info)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
...@@ -48,6 +48,6 @@ static u32 rtl819x_ethtool_get_link(struct net_device *dev) ...@@ -48,6 +48,6 @@ static u32 rtl819x_ethtool_get_link(struct net_device *dev)
} }
const struct ethtool_ops rtl819x_ethtool_ops = { 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, .get_link = rtl819x_ethtool_get_link,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment