提交 ed457037 编写于 作者: H Holger Schurig 提交者: John W. Linville

[PATCH] libertas: move contents of fw.h to decl.h

Also removes some useless "extern" declarations from function declaration.
Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 208fdd2f
...@@ -66,15 +66,18 @@ void libertas_ps_wakeup(wlan_private * priv, int wait_option); ...@@ -66,15 +66,18 @@ void libertas_ps_wakeup(wlan_private * priv, int wait_option);
void libertas_tx_runqueue(wlan_private *priv); void libertas_tx_runqueue(wlan_private *priv);
extern struct chan_freq_power *libertas_find_cfp_by_band_and_channel( struct chan_freq_power *libertas_find_cfp_by_band_and_channel(
wlan_adapter * adapter, u8 band, u16 channel); wlan_adapter * adapter, u8 band, u16 channel);
extern void libertas_mac_event_disconnected(wlan_private * priv); void libertas_mac_event_disconnected(wlan_private * priv);
void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str); void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str);
/* fw.c */
int libertas_init_fw(wlan_private * priv);
/* main.c */ /* main.c */
extern struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band, struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band,
int *cfp_no); int *cfp_no);
wlan_private *wlan_add_card(void *card); wlan_private *wlan_add_card(void *card);
int libertas_activate_card(wlan_private *priv); int libertas_activate_card(wlan_private *priv);
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "defs.h" #include "defs.h"
#include "decl.h" #include "decl.h"
#include "dev.h" #include "dev.h"
#include "fw.h"
#include "wext.h" #include "wext.h"
#include "if_usb.h" #include "if_usb.h"
......
/**
* This header file contains FW interface related definitions.
*/
#ifndef _WLAN_FW_H_
#define _WLAN_FW_H_
int libertas_init_fw(wlan_private * priv);
#endif /* _WLAN_FW_H_ */
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "host.h" #include "host.h"
#include "decl.h" #include "decl.h"
#include "dev.h" #include "dev.h"
#include "fw.h"
#include "wext.h" #include "wext.h"
#include "debugfs.h" #include "debugfs.h"
#include "assoc.h" #include "assoc.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册