From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:14:15 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl819x_ethtool_get_link X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1153037d40327a7bfff655b94122d079d3140c6b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192e: Rename rtl819x_ethtool_get_link Use naming schema found in other rtlwifi devices. Rename rtl819x_ethtool_get_link to _rtl92e_ethtool_get_link. 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 55ff519de4cc..1b83e9b2e484 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, };