diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-05-26 16:05:12 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-05 04:09:22 (GMT) |
commit | 2979460d7aba1dac3452edcacd7b8c4cfcf06067 (patch) | |
tree | ae4bf3f4c6ca495fd89a78717c5cb557889fff07 /drivers/staging/bcm/HandleControlPacket.c | |
parent | ff352042ebb8f3823fb3725bc2356f6a60ce20df (diff) | |
download | linux-fsl-qoriq-2979460d7aba1dac3452edcacd7b8c4cfcf06067.tar.xz |
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/HandleControlPacket.c')
-rw-r--r-- | drivers/staging/bcm/HandleControlPacket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/HandleControlPacket.c b/drivers/staging/bcm/HandleControlPacket.c index 691b366..25e5c68 100644 --- a/drivers/staging/bcm/HandleControlPacket.c +++ b/drivers/staging/bcm/HandleControlPacket.c @@ -11,7 +11,7 @@ * Enqueue the control packet for Application. * @return None */ -static VOID handle_rx_control_packet(PMINI_ADAPTER Adapter, struct sk_buff *skb) +static VOID handle_rx_control_packet(struct bcm_mini_adapter *Adapter, struct sk_buff *skb) { struct bcm_tarang_data *pTarang = NULL; BOOLEAN HighPriorityMessage = FALSE; @@ -154,7 +154,7 @@ static VOID handle_rx_control_packet(PMINI_ADAPTER Adapter, struct sk_buff *skb) * @ingroup ctrl_pkt_functions * Thread to handle control pkt reception */ -int control_packet_handler(PMINI_ADAPTER Adapter /* pointer to adapter object*/) +int control_packet_handler(struct bcm_mini_adapter *Adapter /* pointer to adapter object*/) { struct sk_buff *ctrl_packet = NULL; unsigned long flags = 0; @@ -213,7 +213,7 @@ int control_packet_handler(PMINI_ADAPTER Adapter /* pointer to adapter object*/) INT flushAllAppQ(void) { - PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev); + struct bcm_mini_adapter *Adapter = GET_BCM_ADAPTER(gblpnetdev); struct bcm_tarang_data *pTarang = NULL; struct sk_buff *PacketToDrop = NULL; for (pTarang = Adapter->pTarangs; pTarang; pTarang = pTarang->next) { |