Renamed variable "pTarang" -> "tarang" in bcm_char_open(). Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/Bcmchar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 6989327..aba63f9 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -105,23 +105,23 @@ static int handle_flash2x_adapter(struct bcm_mini_adapter *ad, static int bcm_char_open(struct inode *inode, struct file *filp) { struct bcm_mini_adapter *ad = NULL; - struct bcm_tarang_data *pTarang = NULL; + struct bcm_tarang_data *tarang = NULL; ad = GET_BCM_ADAPTER(gblpnetdev); - pTarang = kzalloc(sizeof(struct bcm_tarang_data), GFP_KERNEL); - if (!pTarang) + tarang = kzalloc(sizeof(struct bcm_tarang_data), GFP_KERNEL); + if (!tarang) return -ENOMEM; - pTarang->Adapter = ad; - pTarang->RxCntrlMsgBitMask = 0xFFFFFFFF & ~(1 << 0xB); + tarang->Adapter = ad; + tarang->RxCntrlMsgBitMask = 0xFFFFFFFF & ~(1 << 0xB); down(&ad->RxAppControlQueuelock); - pTarang->next = ad->pTarangs; - ad->pTarangs = pTarang; + tarang->next = ad->pTarangs; + ad->pTarangs = tarang; up(&ad->RxAppControlQueuelock); /* Store the Adapter structure */ - filp->private_data = pTarang; + filp->private_data = tarang; /* Start Queuing the control response Packets */ atomic_inc(&ad->ApplicationRunning); -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel