From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:14:14 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl819x_ethtool_get_drvinfo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4b27f60dc26db5ee34240fd5ecc7f66a93171a6;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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, };