staging: vt6656: rename BBvSetAntennaMode to vnt_set_antenna_mode
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 16 Jul 2014 21:21:52 +0000 (22:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:01:52 +0000 (18:01 -0700)
Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/baseband.h
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/wcmd.c

index e56defa47bd791a6c7a4d7e911e666a5215e93b1..65866141d40d995b8ba23b32ebdc7e374dabdae9 100644 (file)
@@ -345,7 +345,7 @@ void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
  * 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) {
        case ANT_TXA:
index c73244b11bf9b1c6136f53ff68fac599c19563c6..a6126907a19fa84b63f6cafe9c97bb1b34c47870 100644 (file)
@@ -95,7 +95,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length,
 
 void BBvSetShortSlotTime(struct vnt_private *);
 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 *);
 void BBvSetDeepSleep(struct vnt_private *);
 void BBvExitDeepSleep(struct vnt_private *);
index c595a158caf47c7695703435d9bb961fe0c6cc27..7cd4c2b0a710d932784032ac1c28b32bd03c778d 100644 (file)
@@ -371,7 +371,7 @@ static int device_init_registers(struct vnt_private *pDevice)
        }
 
        /* Set initial antenna mode */
-       BBvSetAntennaMode(pDevice, pDevice->byRxAntennaMode);
+       vnt_set_antenna_mode(pDevice, pDevice->byRxAntennaMode);
 
        /* get Auto Fall Back type */
        pDevice->byAutoFBCtrl = AUTO_FB_0;
index bf41e673e9bb325929683f53b21beb1878c83304..c56b7b3c90de72c46449c2d71db5656c62a3cc39 100644 (file)
@@ -151,15 +151,15 @@ void vnt_run_command(struct work_struct *work)
                if (priv->dwRxAntennaSel == 0) {
                        priv->dwRxAntennaSel = 1;
                        if (priv->bTxRxAntInv == true)
-                               BBvSetAntennaMode(priv, ANT_RXA);
+                               vnt_set_antenna_mode(priv, ANT_RXA);
                        else
-                               BBvSetAntennaMode(priv, ANT_RXB);
+                               vnt_set_antenna_mode(priv, ANT_RXB);
                } else {
                        priv->dwRxAntennaSel = 0;
                        if (priv->bTxRxAntInv == true)
-                               BBvSetAntennaMode(priv, ANT_RXB);
+                               vnt_set_antenna_mode(priv, ANT_RXB);
                        else
-                               BBvSetAntennaMode(priv, ANT_RXA);
+                               vnt_set_antenna_mode(priv, ANT_RXA);
                }
                break;