staging: vt6656: rename FIRMWAREbBrach2Sram to vnt_firmware_branch_to_sram

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:32 +01:00 committed by Greg Kroah-Hartman
parent 6a86b77820
commit 1432146125
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

@ -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 {