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>
This commit is contained in:

committed by
David S. Miller

parent
96287ac4f7
commit
69f9032d9d
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* This file contains definitions and data structures specific
|
||||
* to Marvell 802.11 NIC. It contains the Device Information
|
||||
* structure lbs_adapter.
|
||||
* structure struct lbs_adapter.
|
||||
*/
|
||||
#ifndef _LBS_DEV_H_
|
||||
#define _LBS_DEV_H_
|
||||
@@ -99,7 +99,7 @@ struct lbs_mesh_stats {
|
||||
};
|
||||
|
||||
/** Private structure for the MV device */
|
||||
struct _lbs_private {
|
||||
struct lbs_private {
|
||||
int open;
|
||||
int mesh_open;
|
||||
int infra_open;
|
||||
@@ -109,7 +109,7 @@ struct _lbs_private {
|
||||
char name[DEV_NAME_LEN];
|
||||
|
||||
void *card;
|
||||
lbs_adapter *adapter;
|
||||
struct lbs_adapter *adapter;
|
||||
struct net_device *dev;
|
||||
|
||||
struct net_device_stats stats;
|
||||
@@ -155,9 +155,9 @@ struct _lbs_private {
|
||||
struct work_struct sync_channel;
|
||||
|
||||
/** Hardware access */
|
||||
int (*hw_host_to_card) (lbs_private *priv, u8 type, u8 *payload, u16 nb);
|
||||
int (*hw_get_int_status) (lbs_private *priv, u8 *);
|
||||
int (*hw_read_event_cause) (lbs_private *);
|
||||
int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb);
|
||||
int (*hw_get_int_status) (struct lbs_private *priv, u8 *);
|
||||
int (*hw_read_event_cause) (struct lbs_private *);
|
||||
};
|
||||
|
||||
/** Association request
|
||||
@@ -205,7 +205,7 @@ struct assoc_request {
|
||||
};
|
||||
|
||||
/** Wlan adapter data structure*/
|
||||
struct _lbs_adapter {
|
||||
struct lbs_adapter {
|
||||
/** STATUS variables */
|
||||
u8 fwreleasenumber[4];
|
||||
u32 fwcapinfo;
|
||||
|
Reference in New Issue
Block a user