staging: rtl8192e: Rename init_firmware
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:33:57 +0000 (19:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:26:26 +0000 (21:26 -0700)
Use naming schema found in other rtlwifi devices.
Rename init_firmware to rtl92e_init_fw.

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
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h

index e347facda94fcce1cd4a7a9412e16d6611e9b088..1013101309e8e19baa6050515a73c025f40d87c8 100644 (file)
@@ -852,7 +852,7 @@ start:
        }
 
        RT_TRACE(COMP_INIT, "Load Firmware!\n");
-       bfirmwareok = init_firmware(dev);
+       bfirmwareok = rtl92e_init_fw(dev);
        if (!bfirmwareok) {
                if (retry_times < 10) {
                        retry_times++;
index 37e5c1403a7e4feb8a960bfb2d23ddb3c8250a10..5c527c419bc9eeb474ebd01f82ed526324594c7c 100644 (file)
@@ -223,7 +223,7 @@ static bool firmware_check_ready(struct net_device *dev,
        return rt_status;
 }
 
-bool init_firmware(struct net_device *dev)
+bool rtl92e_init_fw(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        bool                    rt_status = true;
index 131ea005edff31e287f362ac64a6b5a17e06381a..4c464eaee69f02b3dbc3b9d76aca622c7bc83f96 100644 (file)
@@ -59,7 +59,7 @@ struct rt_firmware {
        u16               firmware_buf_size[MAX_FW_INIT_STEP];
 };
 
-bool init_firmware(struct net_device *dev);
+bool rtl92e_init_fw(struct net_device *dev);
 extern void rtl92e_init_fw_param(struct net_device *dev);
 
 #endif