X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fdrivers%2Fstaging%2Frtl8192e%2Frtl8192e%2Frtl_ethtool.c;fp=kernel%2Fdrivers%2Fstaging%2Frtl8192e%2Frtl8192e%2Frtl_ethtool.c;h=f172f776245d073bdedec7611c1b64824a04d70c;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=529ea54d16831fdffdf61bf0abf90bc2762ccc8c;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c b/kernel/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c index 529ea54d1..f172f7762 100644 --- a/kernel/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c +++ b/kernel/drivers/staging/rtl8192e/rtl8192e/rtl_ethtool.c @@ -12,10 +12,6 @@ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA - * * The full GNU General Public License is included in this distribution in the * file called LICENSE. * @@ -29,8 +25,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); @@ -39,7 +35,7 @@ static void rtl819x_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); @@ -48,6 +44,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_link = rtl819x_ethtool_get_link, + .get_drvinfo = _rtl92e_ethtool_get_drvinfo, + .get_link = _rtl92e_ethtool_get_link, };