summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-25 20:51:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-27 09:03:43 -0700
commit0dd6e68a54726ad49a1b9888032ca5b5f6e2d889 (patch)
treebe91020eb24ccfa705b07a038c959f0450727543 /drivers/staging/vt6656
parentafc7ef64a696feb7b48600887683398890fe9bf5 (diff)
staging: vt6656: rename device_free_rx_bufs to vnt_free_rx_bufs
changing vnt to device Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r--drivers/staging/vt6656/main_usb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 88484c8a9803..76678c8fce0e 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -397,7 +397,7 @@ static void vnt_free_tx_bufs(struct vnt_private *priv)
return;
}
-static void device_free_rx_bufs(struct vnt_private *priv)
+static void vnt_free_rx_bufs(struct vnt_private *priv)
{
struct vnt_rcb *rcb;
int ii;
@@ -518,7 +518,7 @@ static bool device_alloc_bufs(struct vnt_private *priv)
return true;
free_rx_tx:
- device_free_rx_bufs(priv);
+ vnt_free_rx_bufs(priv);
free_tx:
vnt_free_tx_bufs(priv);
@@ -567,7 +567,7 @@ static int vnt_start(struct ieee80211_hw *hw)
return 0;
free_all:
- device_free_rx_bufs(priv);
+ vnt_free_rx_bufs(priv);
vnt_free_tx_bufs(priv);
device_free_int_bufs(priv);
@@ -603,7 +603,7 @@ static void vnt_stop(struct ieee80211_hw *hw)
priv->cmd_running = false;
vnt_free_tx_bufs(priv);
- device_free_rx_bufs(priv);
+ vnt_free_rx_bufs(priv);
device_free_int_bufs(priv);
usb_kill_urb(priv->interrupt_urb);