Commit 41868bf4 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename BBvSetAntennaMode to vnt_set_antenna_mode

Dropping BB
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 231c6f13
...@@ -345,7 +345,7 @@ void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, ...@@ -345,7 +345,7 @@ void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
* Return Value: none * Return Value: none
* *
*/ */
void BBvSetAntennaMode(struct vnt_private *priv, u8 antenna_mode) void vnt_set_antenna_mode(struct vnt_private *priv, u8 antenna_mode)
{ {
switch (antenna_mode) { switch (antenna_mode) {
case ANT_TXA: case ANT_TXA:
......
...@@ -95,7 +95,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length, ...@@ -95,7 +95,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length,
void BBvSetShortSlotTime(struct vnt_private *); void BBvSetShortSlotTime(struct vnt_private *);
void BBvSetVGAGainOffset(struct vnt_private *, u8 byData); void BBvSetVGAGainOffset(struct vnt_private *, u8 byData);
void BBvSetAntennaMode(struct vnt_private *, u8 byAntennaMode); void vnt_set_antenna_mode(struct vnt_private *, u8);
int BBbVT3184Init(struct vnt_private *); int BBbVT3184Init(struct vnt_private *);
void BBvSetDeepSleep(struct vnt_private *); void BBvSetDeepSleep(struct vnt_private *);
void BBvExitDeepSleep(struct vnt_private *); void BBvExitDeepSleep(struct vnt_private *);
......
...@@ -371,7 +371,7 @@ static int device_init_registers(struct vnt_private *pDevice) ...@@ -371,7 +371,7 @@ static int device_init_registers(struct vnt_private *pDevice)
} }
/* Set initial antenna mode */ /* Set initial antenna mode */
BBvSetAntennaMode(pDevice, pDevice->byRxAntennaMode); vnt_set_antenna_mode(pDevice, pDevice->byRxAntennaMode);
/* get Auto Fall Back type */ /* get Auto Fall Back type */
pDevice->byAutoFBCtrl = AUTO_FB_0; pDevice->byAutoFBCtrl = AUTO_FB_0;
......
...@@ -151,15 +151,15 @@ void vnt_run_command(struct work_struct *work) ...@@ -151,15 +151,15 @@ void vnt_run_command(struct work_struct *work)
if (priv->dwRxAntennaSel == 0) { if (priv->dwRxAntennaSel == 0) {
priv->dwRxAntennaSel = 1; priv->dwRxAntennaSel = 1;
if (priv->bTxRxAntInv == true) if (priv->bTxRxAntInv == true)
BBvSetAntennaMode(priv, ANT_RXA); vnt_set_antenna_mode(priv, ANT_RXA);
else else
BBvSetAntennaMode(priv, ANT_RXB); vnt_set_antenna_mode(priv, ANT_RXB);
} else { } else {
priv->dwRxAntennaSel = 0; priv->dwRxAntennaSel = 0;
if (priv->bTxRxAntInv == true) if (priv->bTxRxAntInv == true)
BBvSetAntennaMode(priv, ANT_RXB); vnt_set_antenna_mode(priv, ANT_RXB);
else else
BBvSetAntennaMode(priv, ANT_RXA); vnt_set_antenna_mode(priv, ANT_RXA);
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment