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

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

index 41fc0e244f83b508da215e894cfc5a2ebece1aa8..78fb9e905c9aff922bd0b67bc1e698e2edaa8e6e 100644 (file)
@@ -177,8 +177,8 @@ CPUCheckFirmwareReady_Fail:
 
 }
 
-static bool firmware_check_ready(struct net_device *dev,
-                                       u8 load_fw_status)
+static bool _rtl92e_fw_check_ready(struct net_device *dev,
+                                  u8 load_fw_status)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rt_firmware *pfirmware = priv->pFirmware;
@@ -304,7 +304,7 @@ bool rtl92e_init_fw(struct net_device *dev)
                if (!rt_status)
                        goto download_firmware_fail;
 
-               if (!firmware_check_ready(dev, i))
+               if (!_rtl92e_fw_check_ready(dev, i))
                        goto download_firmware_fail;
        }