summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/InterfaceRx.c
diff options
context:
space:
mode:
authorKevin McKinney2012-05-26 18:05:12 +0200
committerGreg Kroah-Hartman2012-06-05 06:09:22 +0200
commit2979460d7aba1dac3452edcacd7b8c4cfcf06067 (patch)
treeae4bf3f4c6ca495fd89a78717c5cb557889fff07 /drivers/staging/bcm/InterfaceRx.c
parentStaging: bcm: Remove typedef for _LEADER and call directly. (diff)
downloadkernel-qcow2-linux-2979460d7aba1dac3452edcacd7b8c4cfcf06067.tar.gz
kernel-qcow2-linux-2979460d7aba1dac3452edcacd7b8c4cfcf06067.tar.xz
kernel-qcow2-linux-2979460d7aba1dac3452edcacd7b8c4cfcf06067.zip
Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly.
This patch removes typedef for _MINI_ADAPTER, changes the name of the struct from _MINI_ADAPTER to bcm_mini_adapter. In addition, any calls to the following typedefs "MINI_ADAPTER, *PMINI_ADAPTER" 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/InterfaceRx.c')
-rw-r--r--drivers/staging/bcm/InterfaceRx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/InterfaceRx.c b/drivers/staging/bcm/InterfaceRx.c
index 7940a2e7def2..8a9f90fbdf13 100644
--- a/drivers/staging/bcm/InterfaceRx.c
+++ b/drivers/staging/bcm/InterfaceRx.c
@@ -1,6 +1,6 @@
#include "headers.h"
-static int SearchVcid(PMINI_ADAPTER Adapter,unsigned short usVcid)
+static int SearchVcid(struct bcm_mini_adapter *Adapter,unsigned short usVcid)
{
int iIndex=0;
@@ -45,7 +45,7 @@ static void read_bulk_callback(struct urb *urb)
//int idleflag = 0 ;
PUSB_RCB pRcb = (PUSB_RCB)urb->context;
PS_INTERFACE_ADAPTER psIntfAdapter = pRcb->psIntfAdapter;
- PMINI_ADAPTER Adapter = psIntfAdapter->psAdapter;
+ struct bcm_mini_adapter *Adapter = psIntfAdapter->psAdapter;
struct bcm_leader *pLeader = urb->transfer_buffer;
if (unlikely(netif_msg_rx_status(Adapter)))
@@ -232,7 +232,7 @@ Function: InterfaceRx
Description: This is the hardware specific Function for Receiving
data packet/control packets from the device.
-Input parameters: IN PMINI_ADAPTER Adapter - Miniport Adapter Context
+Input parameters: IN struct bcm_mini_adapter *Adapter - Miniport Adapter Context