From c49d7550e5fa85f2b592594f4c1867550b80835a Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Tue, 27 May 2014 21:05:24 +0100 Subject: [PATCH] staging: vt6656: rf.c rename RFbRFTableDownload to vnt_rf_table_download. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/baseband.c | 3 +-- drivers/staging/vt6656/rf.c | 2 +- drivers/staging/vt6656/rf.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index d96308f..694e34a 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -1040,8 +1040,7 @@ int BBbVT3184Init(struct vnt_private *priv) vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x04, 0x7f); vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0d, 0x01); - RFbRFTableDownload(priv); - + vnt_rf_table_download(priv); /* Fix for TX USB resets from vendors driver */ vnt_control_in(priv, MESSAGE_TYPE_READ, USB_REG4, diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index 4e1a28d..4420114 100644 --- a/drivers/staging/vt6656/rf.c +++ b/drivers/staging/vt6656/rf.c @@ -992,7 +992,7 @@ void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm) *dbm = -1 * (a + b * 2); } -void RFbRFTableDownload(struct vnt_private *priv) +void vnt_rf_table_download(struct vnt_private *priv) { u16 length1 = 0, length2 = 0, length3 = 0; u8 *addr1 = NULL, *addr2 = NULL, *addr3 = NULL; diff --git a/drivers/staging/vt6656/rf.h b/drivers/staging/vt6656/rf.h index bc0e923..cb33151 100644 --- a/drivers/staging/vt6656/rf.h +++ b/drivers/staging/vt6656/rf.h @@ -61,6 +61,6 @@ int vnt_rf_write_embedded(struct vnt_private *, u32); int vnt_rf_setpower(struct vnt_private *, u32, u32); int vnt_rf_set_txpower(struct vnt_private *, u8, u32); void vnt_rf_rssi_to_dbm(struct vnt_private *, u8, long *); -void RFbRFTableDownload(struct vnt_private *pDevice); +void vnt_rf_table_download(struct vnt_private *); #endif /* __RF_H__ */ -- 2.7.4