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

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c

index c71515b47f1ad9c182721a95c2db439ae5f03a2c..9c69dfae2c3542d77eb681cf0a2d57e7cf922e70 100644 (file)
@@ -203,7 +203,7 @@ static void dm_init_fsync(struct net_device *dev);
 static void dm_deInit_fsync(struct net_device *dev);
 
 static void dm_check_txrateandretrycount(struct net_device *dev);
-static  void dm_check_ac_dc_power(struct net_device *dev);
+static  void _rtl92e_dm_check_ac_dc_power(struct net_device *dev);
 static void dm_check_fsync(struct net_device *dev);
 static void dm_CheckRfCtrlGPIO(void *data);
 static void dm_fsync_timer_callback(unsigned long data);
@@ -257,7 +257,7 @@ void rtl92e_dm_watchdog(struct net_device *dev)
        if (priv->being_init_adapter)
                return;
 
-       dm_check_ac_dc_power(dev);
+       _rtl92e_dm_check_ac_dc_power(dev);
 
        dm_check_pbc_gpio(dev);
        dm_check_txrateandretrycount(dev);
@@ -277,7 +277,7 @@ void rtl92e_dm_watchdog(struct net_device *dev)
        dm_ctstoself(dev);
 }
 
-static void dm_check_ac_dc_power(struct net_device *dev)
+static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        static char *ac_dc_script = "/etc/acpi/wireless-rtl-ac-dc-power.sh";