提交 ef484423 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6656: rename device_alloc_bufs to vnt_alloc_bufs

changing device to vnt
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1c2fd56b
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册