From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:50 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192e_update_msr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ded689376a2a53c6a2a6b7d3f3d584e0e391ef4;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192e: Rename rtl8192e_update_msr Use naming schema found in other rtlwifi devices. Rename rtl8192e_update_msr to _rtl92e_update_msr. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index d0a740c9dbde..5e7a551d4f6a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -57,7 +57,7 @@ void rtl92e_start_beacon(struct net_device *dev) rtl92e_irq_enable(dev); } -static void rtl8192e_update_msr(struct net_device *dev) +static void _rtl92e_update_msr(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); u8 msr; @@ -1001,7 +1001,7 @@ void rtl92e_link_change(struct net_device *dev) } else { rtl92e_writeb(dev, 0x173, 0); } - rtl8192e_update_msr(dev); + _rtl92e_update_msr(dev); if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC) { u32 reg = 0;