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

staging: vt6656: rename FIRMWAREbBrach2Sram to vnt_firmware_branch_to_sram

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6a86b778
......@@ -91,7 +91,7 @@ int vnt_download_firmware(struct vnt_private *priv)
}
MODULE_FIRMWARE(FIRMWARE_NAME);
int FIRMWAREbBrach2Sram(struct vnt_private *priv)
int vnt_firmware_branch_to_sram(struct vnt_private *priv)
{
int status;
......@@ -137,7 +137,7 @@ int FIRMWAREbCheckVersion(struct vnt_private *priv)
if (priv->wFirmwareVersion < FIRMWARE_VERSION) {
/* branch to loader for download new firmware */
FIRMWAREbBrach2Sram(priv);
vnt_firmware_branch_to_sram(priv);
return false;
}
return true;
......
......@@ -33,7 +33,7 @@
#include "device.h"
int vnt_download_firmware(struct vnt_private *);
int FIRMWAREbBrach2Sram(struct vnt_private *);
int vnt_firmware_branch_to_sram(struct vnt_private *);
int FIRMWAREbCheckVersion(struct vnt_private *);
#endif /* __FIRMWARE_H__ */
......@@ -289,9 +289,9 @@ static int device_init_registers(struct vnt_private *pDevice)
if (!FIRMWAREbCheckVersion(pDevice)) {
if (vnt_download_firmware(pDevice) == true) {
if (FIRMWAREbBrach2Sram(pDevice) == false) {
if (vnt_firmware_branch_to_sram(pDevice) == false) {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
" FIRMWAREbBrach2Sram fail\n");
" vnt_firmware_branch_to_sram fail\n");
return false;
}
} else {
......
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