diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-18 05:36:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 23:06:23 (GMT) |
commit | 8577011c7a97df032e2a08f3b00296c4a7f3a12e (patch) | |
tree | ae3c646939f282420d8ae1b8e1dda8cc241afdc8 | |
parent | 3d582487beb83d650fbd25cb65688b0fbedc97f1 (diff) | |
download | linux-8577011c7a97df032e2a08f3b00296c4a7f3a12e.tar.xz |
staging: vt6656: struct vnt_private rename apRCB to rcb
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/device.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 22554af..a5a6c39 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -288,7 +288,7 @@ struct vnt_private { u32 int_interval; /* Variables to track resources for the BULK In Pipe */ - struct vnt_rcb *apRCB[CB_MAX_RX_DESC]; + struct vnt_rcb *rcb[CB_MAX_RX_DESC]; u32 cbRD; /* Variables to track resources for the BULK Out Pipe */ diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index fe2f0bc..5c8ff98 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -418,7 +418,7 @@ static void device_free_rx_bufs(struct vnt_private *priv) int ii; for (ii = 0; ii < priv->cbRD; ii++) { - rcb = priv->apRCB[ii]; + rcb = priv->rcb[ii]; if (!rcb) continue; @@ -486,14 +486,14 @@ static bool device_alloc_bufs(struct vnt_private *priv) } for (ii = 0; ii < priv->cbRD; ii++) { - priv->apRCB[ii] = kzalloc(sizeof(struct vnt_rcb), GFP_KERNEL); - if (!priv->apRCB[ii]) { + priv->rcb[ii] = kzalloc(sizeof(struct vnt_rcb), GFP_KERNEL); + if (!priv->rcb[ii]) { dev_err(&priv->usb->dev, "failed to allocate rcb no %d\n", ii); goto free_rx_tx; } - rcb = priv->apRCB[ii]; + rcb = priv->rcb[ii]; rcb->priv = priv; |