From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:14:10 +0000 (+0200) Subject: staging: rtl8192e: Rename r8192_set_mac_adr X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ef7f1ee57c3f59f5a004551d1b4974ebaf572fe;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename r8192_set_mac_adr Use naming schema found in other rtlwifi devices. Rename r8192_set_mac_adr to _rtl92e_set_mac_adr. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index ec9d2c2d09ea..2a264b7f8575 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -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,