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 78e9283c3ca1810d7ccbf0d7556a62de27960f8f..f2250ee81ffac1a94b852a94faf0808dc5208ea7 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 eb25932659dbb03d881aa6a69221618c70d873c8..d594dbe1c14745bc67fac654521e034280d91b3f 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 c5adc346e97b81f4208e12cce8b92affc677f513..4662a3e03cce5b8c3378f4ad5aaf2f7e6fae1348 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