From: Malcolm Priestley Date: Wed, 16 Jul 2014 21:21:55 +0000 (+0100) Subject: staging: vt6656: rename BBvSetVGAGainOffset to vnt_set_vga_gain_offset X-Git-Tag: v3.17-rc1~123^2~538 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=de8690a2e38a6f3a4131b8fa4c01ecb1a99b3dcc;p=karo-tx-linux.git staging: vt6656: rename BBvSetVGAGainOffset to vnt_set_vga_gain_offset Dropping BB Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index 3138826b7767..184f416157f6 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -543,7 +543,7 @@ void vnt_set_short_slot_time(struct vnt_private *priv) vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf); } -void BBvSetVGAGainOffset(struct vnt_private *priv, u8 data) +void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data) { vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0xE7, data); diff --git a/drivers/staging/vt6656/baseband.h b/drivers/staging/vt6656/baseband.h index 1a36e1376494..a3aff07aec6a 100644 --- a/drivers/staging/vt6656/baseband.h +++ b/drivers/staging/vt6656/baseband.h @@ -94,7 +94,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length, u16 tx_rate, u8 pkt_type, struct vnt_phy_field *); void vnt_set_short_slot_time(struct vnt_private *); -void BBvSetVGAGainOffset(struct vnt_private *, u8 byData); +void vnt_set_vga_gain_offset(struct vnt_private *, u8); void vnt_set_antenna_mode(struct vnt_private *, u8); int vnt_vt3184_init(struct vnt_private *); void BBvSetDeepSleep(struct vnt_private *); diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c index 37cd96bbbfc6..1cbdfee2888f 100644 --- a/drivers/staging/vt6656/card.c +++ b/drivers/staging/vt6656/card.c @@ -836,5 +836,5 @@ void vnt_set_bss_mode(struct vnt_private *priv) priv->abyBBVGA[3] = 0x0; } - BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]); + vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]); } diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index a418d1d3e2a9..695c5416f676 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -881,7 +881,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, priv->bShortSlotTime = false; vnt_set_short_slot_time(priv); - BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]); + vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]); BBvUpdatePreEDThreshold(priv, false); }