Skip to content

Commit

Permalink
[PATCH] libertas: move contents of fw.h to decl.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Holger Schurig authored and John W. Linville committed Jun 11, 2007
1 parent 208fdd2 commit ed45703
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
9 changes: 6 additions & 3 deletions drivers/net/wireless/libertas/decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/libertas/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "defs.h"
#include "decl.h"
#include "dev.h"
#include "fw.h"
#include "wext.h"
#include "if_usb.h"

Expand Down
9 changes: 0 additions & 9 deletions drivers/net/wireless/libertas/fw.h

This file was deleted.

1 change: 0 additions & 1 deletion drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ed45703

Please sign in to comment.