From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:09:25 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_init_priv_lock X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=529c66c1f11805117498dffd2cad758a8c2b5ace;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename rtl8192_init_priv_lock Use naming schema found in other rtlwifi devices. Rename rtl8192_init_priv_lock to _rtl92e_init_priv_lock. 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 b4bc44c7eccf..c5c9f2cb533f 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -991,7 +991,7 @@ static void rtl8192_init_priv_variable(struct net_device *dev) skb_queue_head_init(&priv->rtllib->skb_aggQ[i]); } -static void rtl8192_init_priv_lock(struct r8192_priv *priv) +static void _rtl92e_init_priv_lock(struct r8192_priv *priv) { spin_lock_init(&priv->tx_lock); spin_lock_init(&priv->irq_th_lock); @@ -1072,7 +1072,7 @@ static short _rtl92e_init(struct net_device *dev) _rtl92e_init_priv_handler(dev); _rtl92e_init_priv_constant(dev); rtl8192_init_priv_variable(dev); - rtl8192_init_priv_lock(priv); + _rtl92e_init_priv_lock(priv); rtl8192_init_priv_task(dev); priv->ops->get_eeprom_size(dev); priv->ops->init_adapter_variable(dev);