mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
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:
parent
6a86b77820
commit
1432146125
3 changed files with 5 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue