summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/InterfaceTx.c
diff options
context:
space:
mode:
authorKevin McKinney2012-05-26 18:05:08 +0200
committerGreg Kroah-Hartman2012-06-05 06:09:21 +0200
commit2610c7a889103587ce9a5714291a53dbf5490c3c (patch)
tree3ee5d50f223fedbd4be726e562f57e6d5b14db50 /drivers/staging/bcm/InterfaceTx.c
parentStaging: bcm: Remove typedef for _ADD_CONNECTION. (diff)
downloadkernel-qcow2-linux-2610c7a889103587ce9a5714291a53dbf5490c3c.tar.gz
kernel-qcow2-linux-2610c7a889103587ce9a5714291a53dbf5490c3c.tar.xz
kernel-qcow2-linux-2610c7a889103587ce9a5714291a53dbf5490c3c.zip
Staging: bcm: Remove typedef for link_request and call directly.
This patch removes typedef for link_request, changes the name of the struct from link_request to bcm_link_request. In addition, any calls to the following typedefs "LINK_REQUEST, *PLINK_REQUEST, *CONTROL_MESSAGE" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/InterfaceTx.c')
-rw-r--r--drivers/staging/bcm/InterfaceTx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/InterfaceTx.c b/drivers/staging/bcm/InterfaceTx.c
index a842de9de6b5..3012f29cf85c 100644
--- a/drivers/staging/bcm/InterfaceTx.c
+++ b/drivers/staging/bcm/InterfaceTx.c
@@ -5,7 +5,7 @@ static void write_bulk_callback(struct urb *urb/*, struct pt_regs *regs*/)
{
PUSB_TCB pTcb= (PUSB_TCB)urb->context;
PS_INTERFACE_ADAPTER psIntfAdapter = pTcb->psIntfAdapter;
- CONTROL_MESSAGE *pControlMsg = (CONTROL_MESSAGE *)urb->transfer_buffer;
+ struct bcm_link_request *pControlMsg = (struct bcm_link_request *)urb->transfer_buffer;
PMINI_ADAPTER psAdapter = psIntfAdapter->psAdapter ;
BOOLEAN bpowerDownMsg = FALSE ;
PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);