From: Malcolm Priestley Date: Wed, 4 Jun 2014 17:25:33 +0000 (+0100) Subject: staging: vt6656: rename FIRMWAREbCheckVersion to vnt_check_firmware_version X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=45d63f891ca5c03015dfac357ea60806ea0c50e5;p=openwrt%2Fstaging%2Fblogic.git staging: vt6656: rename FIRMWAREbCheckVersion to vnt_check_firmware_version Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/firmware.c b/drivers/staging/vt6656/firmware.c index 78e9283c3ca1..f2250ee81ffa 100644 --- a/drivers/staging/vt6656/firmware.c +++ b/drivers/staging/vt6656/firmware.c @@ -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; diff --git a/drivers/staging/vt6656/firmware.h b/drivers/staging/vt6656/firmware.h index eb25932659db..d594dbe1c147 100644 --- a/drivers/staging/vt6656/firmware.h +++ b/drivers/staging/vt6656/firmware.h @@ -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__ */ diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index c5adc346e97b..4662a3e03cce 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -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