staging: rtl8192e: Rename rtl8192_init_priv_constant
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:09:23 +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_constant to _rtl92e_init_priv_constant.

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 63bb467f6581eb4e07bd151b4f76735e8258eb0b..fe01a90a2ff0ef02bbf17c00a6d19f3c00bb5a53 100644 (file)
@@ -888,7 +888,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->ScanOperationBackupHandler = rtl92e_scan_op_backup;
 }
 
-static void rtl8192_init_priv_constant(struct net_device *dev)
+static void _rtl92e_init_priv_constant(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *)
@@ -1070,7 +1070,7 @@ static short _rtl92e_init(struct net_device *dev)
        memset(&(priv->stats), 0, sizeof(struct rt_stats));
 
        rtl8192_init_priv_handler(dev);
-       rtl8192_init_priv_constant(dev);
+       _rtl92e_init_priv_constant(dev);
        rtl8192_init_priv_variable(dev);
        rtl8192_init_priv_lock(priv);
        rtl8192_init_priv_task(dev);