aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 12:18:36 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:39 -0400
commited457037c5e8287a3fd24408250fb396b57b9a1b (patch)
tree065243fb5d909f501cfea3f17cf69f9dad342782 /drivers/net/wireless/libertas
parent208fdd2f447899164bd139452c291b155e53cee9 (diff)
[PATCH] libertas: move contents of fw.h to decl.h
Also removes some useless "extern" declarations from function declaration. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r--drivers/net/wireless/libertas/decl.h9
-rw-r--r--drivers/net/wireless/libertas/fw.c1
-rw-r--r--drivers/net/wireless/libertas/fw.h9
-rw-r--r--drivers/net/wireless/libertas/main.c1
4 files changed, 6 insertions, 14 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h
index 4967005adfef..8b34336ff3db 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -66,15 +66,18 @@ void libertas_ps_wakeup(wlan_private * priv, int wait_option);
66 66
67void libertas_tx_runqueue(wlan_private *priv); 67void libertas_tx_runqueue(wlan_private *priv);
68 68
69extern struct chan_freq_power *libertas_find_cfp_by_band_and_channel( 69struct chan_freq_power *libertas_find_cfp_by_band_and_channel(
70 wlan_adapter * adapter, u8 band, u16 channel); 70 wlan_adapter * adapter, u8 band, u16 channel);
71 71
72extern void libertas_mac_event_disconnected(wlan_private * priv); 72void libertas_mac_event_disconnected(wlan_private * priv);
73 73
74void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str); 74void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str);
75 75
76/* fw.c */
77int libertas_init_fw(wlan_private * priv);
78
76/* main.c */ 79/* main.c */
77extern struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band, 80struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band,
78 int *cfp_no); 81 int *cfp_no);
79wlan_private *wlan_add_card(void *card); 82wlan_private *wlan_add_card(void *card);
80int libertas_activate_card(wlan_private *priv); 83int libertas_activate_card(wlan_private *priv);
diff --git a/drivers/net/wireless/libertas/fw.c b/drivers/net/wireless/libertas/fw.c
index dc3d48aefd68..aa63a967635e 100644
--- a/drivers/net/wireless/libertas/fw.c
+++ b/drivers/net/wireless/libertas/fw.c
@@ -8,7 +8,6 @@
8#include "defs.h" 8#include "defs.h"
9#include "decl.h" 9#include "decl.h"
10#include "dev.h" 10#include "dev.h"
11#include "fw.h"
12#include "wext.h" 11#include "wext.h"
13#include "if_usb.h" 12#include "if_usb.h"
14 13
diff --git a/drivers/net/wireless/libertas/fw.h b/drivers/net/wireless/libertas/fw.h
deleted file mode 100644
index e5a6a2b076e3..000000000000
--- a/drivers/net/wireless/libertas/fw.h
+++ /dev/null
@@ -1,9 +0,0 @@
1/**
2 * This header file contains FW interface related definitions.
3 */
4#ifndef _WLAN_FW_H_
5#define _WLAN_FW_H_
6
7int libertas_init_fw(wlan_private * priv);
8
9#endif /* _WLAN_FW_H_ */
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index 33294dd0eeec..c9d155ce98a0 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -17,7 +17,6 @@
17#include "host.h" 17#include "host.h"
18#include "decl.h" 18#include "decl.h"
19#include "dev.h" 19#include "dev.h"
20#include "fw.h"
21#include "wext.h" 20#include "wext.h"
22#include "debugfs.h" 21#include "debugfs.h"
23#include "assoc.h" 22#include "assoc.h"