staging: rtl8192e: Rename r8192_set_mac_adr
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:14:10 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:53 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename r8192_set_mac_adr to _rtl92e_set_mac_adr.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index ec9d2c2..2a264b7 100644 (file)
@@ -2274,7 +2274,7 @@ static void r8192_set_multicast(struct net_device *dev)
 }
 
 
-static int r8192_set_mac_adr(struct net_device *dev, void *mac)
+static int _rtl92e_set_mac_adr(struct net_device *dev, void *mac)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct sockaddr *addr = mac;
@@ -2557,7 +2557,7 @@ static const struct net_device_ops rtl8192_netdev_ops = {
        .ndo_tx_timeout = _rtl92e_tx_timeout,
        .ndo_do_ioctl = _rtl92e_ioctl,
        .ndo_set_rx_mode = r8192_set_multicast,
-       .ndo_set_mac_address = r8192_set_mac_adr,
+       .ndo_set_mac_address = _rtl92e_set_mac_adr,
        .ndo_validate_addr = eth_validate_addr,
        .ndo_change_mtu = eth_change_mtu,
        .ndo_start_xmit = rtllib_xmit,