From babb55f9db82896675275f1748f2d684fac13024 Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:19:31 +0200 Subject: [PATCH] staging: rtl8192e: Rename dm_check_ac_dc_power 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index c71515b47f1a..9c69dfae2c35 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -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"; -- 2.30.2