staging: rtl8192e: Rename rtl8192e_update_msr
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:50 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:49 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192e_update_msr to _rtl92e_update_msr.

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

index d0a740c9dbdea3525ea08a52057d04cb977bed29..5e7a551d4f6a9491321e4784cb86d05845b18526 100644 (file)
@@ -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;