From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:31 +0000 (+0200) Subject: staging: rtl8192e: Rename dm_check_ac_dc_power X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=babb55f9db82896675275f1748f2d684fac13024;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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";