summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/rxtx.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-11 01:08:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 17:34:27 -0700
commita032b16c27a89bccd63f80a3f353180d2852b898 (patch)
treefa5ccaa69b4bc176b96ac32ffabecf60665de35e /drivers/staging/vt6656/rxtx.c
parent2331ba42b5d1ff1625d17fc57d00af560063a3e0 (diff)
staging: vt6656: rename s_vGetFreeContext to vnt_get_free_context
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/rxtx.c')
-rw-r--r--drivers/staging/vt6656/rxtx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c
index 582bc1f1ad2d..bd96627282ae 100644
--- a/drivers/staging/vt6656/rxtx.c
+++ b/drivers/staging/vt6656/rxtx.c
@@ -82,7 +82,7 @@ static const u16 vnt_fb_opt1[2][5] = {
#define DATADUR_A_F0 12
#define DATADUR_A_F1 13
-static struct vnt_usb_send_context *s_vGetFreeContext(struct vnt_private *);
+static struct vnt_usb_send_context *vnt_get_free_context(struct vnt_private *);
static unsigned int vnt_get_rsvtime(struct vnt_private *pDevice, u8 byPktType,
u32 cbFrameLength, u16 wRate, int bNeedAck);
@@ -98,7 +98,7 @@ static __le16 vnt_get_rtscts_duration_le(struct vnt_private *priv,
int need_ack);
static struct vnt_usb_send_context
- *s_vGetFreeContext(struct vnt_private *priv)
+ *vnt_get_free_context(struct vnt_private *priv)
{
struct vnt_usb_send_context *context = NULL;
int ii;
@@ -831,7 +831,7 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
spin_lock_irqsave(&priv->lock, flags);
- tx_context = s_vGetFreeContext(priv);
+ tx_context = vnt_get_free_context(priv);
if (!tx_context) {
dev_dbg(&priv->usb->dev, "%s No free context\n", __func__);
spin_unlock_irqrestore(&priv->lock, flags);
@@ -1006,7 +1006,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv,
spin_lock_irqsave(&priv->lock, flags);
- context = s_vGetFreeContext(priv);
+ context = vnt_get_free_context(priv);
if (!context) {
dev_dbg(&priv->usb->dev, "%s No free context!\n", __func__);
spin_unlock_irqrestore(&priv->lock, flags);