staging: vt6656: rename FIRMWAREbCheckVersion to vnt_check_firmware_version

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-06-04 18:25:33 +01:00 committed by Greg Kroah-Hartman
parent 1432146125
commit 45d63f891c
3 changed files with 3 additions and 3 deletions

View 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;

View 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__ */

View 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