]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename rtl8192_init_priv_lock
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:09:25 +0000 (10:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:37 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_lock to _rtl92e_init_priv_lock.

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 b4bc44c7eccf3386e29ad584267fbefc90c6fca9..c5c9f2cb533fbd73cd1c32cf52cda9cabef578e9 100644 (file)
@@ -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);