staging: vt6656: rename FIRMWAREbDownload to vnt_download_firmware
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 4 Jun 2014 17:25:31 +0000 (18:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:59:49 +0000 (15:59 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/firmware.c
drivers/staging/vt6656/firmware.h
drivers/staging/vt6656/main_usb.c

index 83680bc59105ea1468b9d287929caf820df99d20..3990698a305c2dbb9dd972868b1ec62447cb319a 100644 (file)
@@ -40,7 +40,7 @@
 
 #define FIRMWARE_CHUNK_SIZE    0x400
 
-int FIRMWAREbDownload(struct vnt_private *priv)
+int vnt_download_firmware(struct vnt_private *priv)
 {
        struct device *dev = &priv->usb->dev;
        const struct firmware *fw;
index e3b08db6a7347a02fc9932972aa64b00beb3f6e9..961afb7486ada17bd3029364fd9349c2b2a93f79 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "device.h"
 
-int FIRMWAREbDownload(struct vnt_private *);
+int vnt_download_firmware(struct vnt_private *);
 int FIRMWAREbBrach2Sram(struct vnt_private *);
 int FIRMWAREbCheckVersion(struct vnt_private *);
 
index ebb095553bf7ef0fa5ab997fc9d2fff2c9f80a2f..0c9eb604a7212427d56578d95e2e055f310a4b93 100644 (file)
@@ -288,7 +288,7 @@ static int device_init_registers(struct vnt_private *pDevice)
        memcpy(pDevice->abySNAP_Bridgetunnel, abySNAP_Bridgetunnel, ETH_ALEN);
 
        if (!FIRMWAREbCheckVersion(pDevice)) {
-               if (FIRMWAREbDownload(pDevice) == true) {
+               if (vnt_download_firmware(pDevice) == true) {
                        if (FIRMWAREbBrach2Sram(pDevice) == false) {
                                DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
                                        " FIRMWAREbBrach2Sram fail\n");