diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-11-23 09:43:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:54 -0500 |
commit | 69f9032d9dfeb763b467fdbe8cf5938f5457083a (patch) | |
tree | 613598938e17e1a7514e0da3817f3cfebbe346a9 /drivers/net/wireless/libertas/11d.h | |
parent | 96287ac4f7b387acbe17e24b5e1bcbf3bc0e75cd (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/11d.h')
-rw-r--r-- | drivers/net/wireless/libertas/11d.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/11d.h b/drivers/net/wireless/libertas/11d.h index 4f7f0deb6c84..811eea2cfba3 100644 --- a/drivers/net/wireless/libertas/11d.h +++ b/drivers/net/wireless/libertas/11d.h | |||
@@ -78,26 +78,28 @@ struct region_code_mapping { | |||
78 | u8 code; | 78 | u8 code; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | struct lbs_private; | ||
82 | |||
81 | u8 lbs_get_scan_type_11d(u8 chan, | 83 | u8 lbs_get_scan_type_11d(u8 chan, |
82 | struct parsed_region_chan_11d *parsed_region_chan); | 84 | struct parsed_region_chan_11d *parsed_region_chan); |
83 | 85 | ||
84 | u32 lbs_chan_2_freq(u8 chan, u8 band); | 86 | u32 lbs_chan_2_freq(u8 chan, u8 band); |
85 | 87 | ||
86 | void lbs_init_11d(lbs_private * priv); | 88 | void lbs_init_11d(struct lbs_private *priv); |
87 | 89 | ||
88 | int lbs_set_universaltable(lbs_private * priv, u8 band); | 90 | int lbs_set_universaltable(struct lbs_private *priv, u8 band); |
89 | 91 | ||
90 | int lbs_cmd_802_11d_domain_info(lbs_private * priv, | 92 | int lbs_cmd_802_11d_domain_info(struct lbs_private *priv, |
91 | struct cmd_ds_command *cmd, u16 cmdno, | 93 | struct cmd_ds_command *cmd, u16 cmdno, |
92 | u16 cmdOption); | 94 | u16 cmdOption); |
93 | 95 | ||
94 | int lbs_ret_802_11d_domain_info(lbs_private * priv, | 96 | int lbs_ret_802_11d_domain_info(struct lbs_private *priv, |
95 | struct cmd_ds_command *resp); | 97 | struct cmd_ds_command *resp); |
96 | 98 | ||
97 | struct bss_descriptor; | 99 | struct bss_descriptor; |
98 | int lbs_parse_dnld_countryinfo_11d(lbs_private * priv, | 100 | int lbs_parse_dnld_countryinfo_11d(struct lbs_private *priv, |
99 | struct bss_descriptor * bss); | 101 | struct bss_descriptor * bss); |
100 | 102 | ||
101 | int lbs_create_dnld_countryinfo_11d(lbs_private * priv); | 103 | int lbs_create_dnld_countryinfo_11d(struct lbs_private *priv); |
102 | 104 | ||
103 | #endif | 105 | #endif |