summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-25 20:51:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-27 09:03:43 -0700
commitef484423f5d4775db09ef61f1bab98862a70656d (patch)
tree6574a42fdaff89022c1c06958dd871cef9e1b51d /drivers
parent1c2fd56bee347f37017a58a95084414d4ce4f50e (diff)
staging: vt6656: rename device_alloc_bufs to vnt_alloc_bufs
changing device to vnt Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/vt6656/main_usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 50955d24c797..fa0128f513ec 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -441,7 +441,7 @@ static void vnt_free_int_bufs(struct vnt_private *priv)
return;
}
-static bool device_alloc_bufs(struct vnt_private *priv)
+static bool vnt_alloc_bufs(struct vnt_private *priv)
{
struct vnt_usb_send_context *tx_context;
struct vnt_rcb *rcb;
@@ -546,8 +546,8 @@ static int vnt_start(struct ieee80211_hw *hw)
priv->rx_buf_sz = MAX_TOTAL_SIZE_WITH_ALL_HEADERS;
- if (device_alloc_bufs(priv) == false) {
- dev_dbg(&priv->usb->dev, "device_alloc_bufs fail...\n");
+ if (vnt_alloc_bufs(priv) == false) {
+ dev_dbg(&priv->usb->dev, "vnt_alloc_bufs fail...\n");
return -ENOMEM;
}