OSDN Git Service

staging: vt6656: rename FIRMWAREbCheckVersion to vnt_check_firmware_version
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 4 Jun 2014 17:25:33 +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 78e9283..f2250ee 100644 (file)
@@ -109,7 +109,7 @@ int vnt_firmware_branch_to_sram(struct vnt_private *priv)
                return true;
 }
 
-int FIRMWAREbCheckVersion(struct vnt_private *priv)
+int vnt_check_firmware_version(struct vnt_private *priv)
 {
        int status;
 
index eb25932..d594dbe 100644 (file)
@@ -34,6 +34,6 @@
 
 int vnt_download_firmware(struct vnt_private *);
 int vnt_firmware_branch_to_sram(struct vnt_private *);
-int FIRMWAREbCheckVersion(struct vnt_private *);
+int vnt_check_firmware_version(struct vnt_private *);
 
 #endif /* __FIRMWARE_H__ */
index c5adc34..4662a3e 100644 (file)
@@ -287,7 +287,7 @@ static int device_init_registers(struct vnt_private *pDevice)
        memcpy(pDevice->abySNAP_RFC1042, abySNAP_RFC1042, ETH_ALEN);
        memcpy(pDevice->abySNAP_Bridgetunnel, abySNAP_Bridgetunnel, ETH_ALEN);
 
-       if (!FIRMWAREbCheckVersion(pDevice)) {
+       if (!vnt_check_firmware_version(pDevice)) {
                if (vnt_download_firmware(pDevice) == true) {
                        if (vnt_firmware_branch_to_sram(pDevice) == false) {
                                DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO