Commit 45d63f89 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename FIRMWAREbCheckVersion to vnt_check_firmware_version

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 14321461
......@@ -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;
......
......@@ -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__ */
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment