mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
staging: vt6656: rename FIRMWAREbDownload to vnt_download_firmware
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9197f35ba2
commit
6a86b77820
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#define FIRMWARE_CHUNK_SIZE 0x400
|
||||
|
||||
int FIRMWAREbDownload(struct vnt_private *priv)
|
||||
int vnt_download_firmware(struct vnt_private *priv)
|
||||
{
|
||||
struct device *dev = &priv->usb->dev;
|
||||
const struct firmware *fw;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "device.h"
|
||||
|
||||
int FIRMWAREbDownload(struct vnt_private *);
|
||||
int vnt_download_firmware(struct vnt_private *);
|
||||
int FIRMWAREbBrach2Sram(struct vnt_private *);
|
||||
int FIRMWAREbCheckVersion(struct vnt_private *);
|
||||
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ static int device_init_registers(struct vnt_private *pDevice)
|
|||
memcpy(pDevice->abySNAP_Bridgetunnel, abySNAP_Bridgetunnel, ETH_ALEN);
|
||||
|
||||
if (!FIRMWAREbCheckVersion(pDevice)) {
|
||||
if (FIRMWAREbDownload(pDevice) == true) {
|
||||
if (vnt_download_firmware(pDevice) == true) {
|
||||
if (FIRMWAREbBrach2Sram(pDevice) == false) {
|
||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
|
||||
" FIRMWAREbBrach2Sram fail\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user