From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:12:50 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_close X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=27cbba60e045d3e71e726d6f0781ed3ec2b2ce5c;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename rtl8192_close Use naming schema found in other rtlwifi devices. Rename rtl8192_close to _rtl92e_close. 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 7d9a2332deef..3862ebf4d54e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -2210,7 +2210,7 @@ static int rtl8192_up(struct net_device *dev) } -static int rtl8192_close(struct net_device *dev) +static int _rtl92e_close(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); int ret; @@ -2553,7 +2553,7 @@ done: *****************************************************************************/ static const struct net_device_ops rtl8192_netdev_ops = { .ndo_open = _rtl92e_open, - .ndo_stop = rtl8192_close, + .ndo_stop = _rtl92e_close, .ndo_tx_timeout = rtl8192_tx_timeout, .ndo_do_ioctl = _rtl92e_ioctl, .ndo_set_rx_mode = r8192_set_multicast,