aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/11d.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/11d.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/11d.h')
-rw-r--r--drivers/net/wireless/libertas/11d.h14
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
81struct lbs_private;
82
81u8 lbs_get_scan_type_11d(u8 chan, 83u8 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
84u32 lbs_chan_2_freq(u8 chan, u8 band); 86u32 lbs_chan_2_freq(u8 chan, u8 band);
85 87
86void lbs_init_11d(lbs_private * priv); 88void lbs_init_11d(struct lbs_private *priv);
87 89
88int lbs_set_universaltable(lbs_private * priv, u8 band); 90int lbs_set_universaltable(struct lbs_private *priv, u8 band);
89 91
90int lbs_cmd_802_11d_domain_info(lbs_private * priv, 92int 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
94int lbs_ret_802_11d_domain_info(lbs_private * priv, 96int lbs_ret_802_11d_domain_info(struct lbs_private *priv,
95 struct cmd_ds_command *resp); 97 struct cmd_ds_command *resp);
96 98
97struct bss_descriptor; 99struct bss_descriptor;
98int lbs_parse_dnld_countryinfo_11d(lbs_private * priv, 100int lbs_parse_dnld_countryinfo_11d(struct lbs_private *priv,
99 struct bss_descriptor * bss); 101 struct bss_descriptor * bss);
100 102
101int lbs_create_dnld_countryinfo_11d(lbs_private * priv); 103int lbs_create_dnld_countryinfo_11d(struct lbs_private *priv);
102 104
103#endif 105#endif