From: Malcolm Priestley Date: Fri, 25 Jul 2014 19:51:47 +0000 (+0100) Subject: staging: vt6656: rename device_free_tx_bufs to vnt_free_tx_bufs X-Git-Tag: v3.17-rc1~123^2~279 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=afc7ef64a696feb7b48600887683398890fe9bf5;p=karo-tx-linux.git staging: vt6656: rename device_free_tx_bufs to vnt_free_tx_bufs changing device to vnt Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 51fad26e0352..88484c8a9803 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -34,7 +34,7 @@ * device_ioctl - ioctl entry * device_close - shutdown mac/bbp & free dma/descriptor resource * device_alloc_frag_buf - rx fragement pre-allocated function - * device_free_tx_bufs - free tx buffer function + * vnt_free_tx_bufs - free tx buffer function * device_dma0_tx_80211- tx 802.11 frame via dma0 * device_dma0_xmit- tx PS buffered frame via dma0 * vnt_init_registers- initial MAC & BBP & RF internal registers. @@ -378,7 +378,7 @@ static int vnt_init_registers(struct vnt_private *priv) return true; } -static void device_free_tx_bufs(struct vnt_private *priv) +static void vnt_free_tx_bufs(struct vnt_private *priv) { struct vnt_usb_send_context *tx_context; int ii; @@ -521,7 +521,7 @@ free_rx_tx: device_free_rx_bufs(priv); free_tx: - device_free_tx_bufs(priv); + vnt_free_tx_bufs(priv); return false; } @@ -568,7 +568,7 @@ static int vnt_start(struct ieee80211_hw *hw) free_all: device_free_rx_bufs(priv); - device_free_tx_bufs(priv); + vnt_free_tx_bufs(priv); device_free_int_bufs(priv); usb_kill_urb(priv->interrupt_urb); @@ -602,7 +602,7 @@ static void vnt_stop(struct ieee80211_hw *hw) priv->cmd_running = false; - device_free_tx_bufs(priv); + vnt_free_tx_bufs(priv); device_free_rx_bufs(priv); device_free_int_bufs(priv);