]> err.no Git - linux-2.6/commitdiff
[PATCH] libertas: move contents of fw.h to decl.h
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 16:18:36 +0000 (12:18 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:39 +0000 (14:28 -0400)
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>
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/fw.c
drivers/net/wireless/libertas/fw.h [deleted file]
drivers/net/wireless/libertas/main.c

index 4967005adfef4e4aeb311df0347b43435e4cbc6d..8b34336ff3db5a4fe2b310bb42da7601956f0db1 100644 (file)
@@ -66,15 +66,18 @@ void libertas_ps_wakeup(wlan_private * priv, int wait_option);
 
 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);
 
-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);
 
+/* fw.c */
+int libertas_init_fw(wlan_private * priv);
+
 /* 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);
 wlan_private *wlan_add_card(void *card);
 int libertas_activate_card(wlan_private *priv);
index dc3d48aefd68cecae25b5a6d9dff2eebcd7233a0..aa63a967635e13ebd35bb14f45033e46125c245c 100644 (file)
@@ -8,7 +8,6 @@
 #include "defs.h"
 #include "decl.h"
 #include "dev.h"
-#include "fw.h"
 #include "wext.h"
 #include "if_usb.h"
 
diff --git a/drivers/net/wireless/libertas/fw.h b/drivers/net/wireless/libertas/fw.h
deleted file mode 100644 (file)
index e5a6a2b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
-  * 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_ */
index 33294dd0eeeceab756dcf9565bdd2f6bc25e600d..c9d155ce98a06d2509a84ca84ef1361e2c371d2d 100644 (file)
@@ -17,7 +17,6 @@
 #include "host.h"
 #include "decl.h"
 #include "dev.h"
-#include "fw.h"
 #include "wext.h"
 #include "debugfs.h"
 #include "assoc.h"