aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-11-23 09:43:44 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:54 -0500
commit69f9032d9dfeb763b467fdbe8cf5938f5457083a (patch)
tree613598938e17e1a7514e0da3817f3cfebbe346a9 /drivers/net/wireless/libertas/dev.h
parent96287ac4f7b387acbe17e24b5e1bcbf3bc0e75cd (diff)
libertas: remove arbitrary typedefs
New typedefs are usually frowned upon. This patch changes libertas_adapter -> struct libertas_adapter libertas_priv -> struct libertas_priv While passing, make everything checkpatch.pl-clean that gets touches. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r--drivers/net/wireless/libertas/dev.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index 53776bca86f1..1efea63c6691 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -1,7 +1,7 @@
1/** 1/**
2 * This file contains definitions and data structures specific 2 * This file contains definitions and data structures specific
3 * to Marvell 802.11 NIC. It contains the Device Information 3 * to Marvell 802.11 NIC. It contains the Device Information
4 * structure lbs_adapter. 4 * structure struct lbs_adapter.
5 */ 5 */
6#ifndef _LBS_DEV_H_ 6#ifndef _LBS_DEV_H_
7#define _LBS_DEV_H_ 7#define _LBS_DEV_H_
@@ -99,7 +99,7 @@ struct lbs_mesh_stats {
99}; 99};
100 100
101/** Private structure for the MV device */ 101/** Private structure for the MV device */
102struct _lbs_private { 102struct lbs_private {
103 int open; 103 int open;
104 int mesh_open; 104 int mesh_open;
105 int infra_open; 105 int infra_open;
@@ -109,7 +109,7 @@ struct _lbs_private {
109 char name[DEV_NAME_LEN]; 109 char name[DEV_NAME_LEN];
110 110
111 void *card; 111 void *card;
112 lbs_adapter *adapter; 112 struct lbs_adapter *adapter;
113 struct net_device *dev; 113 struct net_device *dev;
114 114
115 struct net_device_stats stats; 115 struct net_device_stats stats;
@@ -155,9 +155,9 @@ struct _lbs_private {
155 struct work_struct sync_channel; 155 struct work_struct sync_channel;
156 156
157 /** Hardware access */ 157 /** Hardware access */
158 int (*hw_host_to_card) (lbs_private *priv, u8 type, u8 *payload, u16 nb); 158 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb);
159 int (*hw_get_int_status) (lbs_private *priv, u8 *); 159 int (*hw_get_int_status) (struct lbs_private *priv, u8 *);
160 int (*hw_read_event_cause) (lbs_private *); 160 int (*hw_read_event_cause) (struct lbs_private *);
161}; 161};
162 162
163/** Association request 163/** Association request
@@ -205,7 +205,7 @@ struct assoc_request {
205}; 205};
206 206
207/** Wlan adapter data structure*/ 207/** Wlan adapter data structure*/
208struct _lbs_adapter { 208struct lbs_adapter {
209 /** STATUS variables */ 209 /** STATUS variables */
210 u8 fwreleasenumber[4]; 210 u8 fwreleasenumber[4];
211 u32 fwcapinfo; 211 u32 fwcapinfo;