diff options
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r-- | drivers/net/wireless/libertas/decl.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h index dfe27642322c..40f56bb1eac8 100644 --- a/drivers/net/wireless/libertas/decl.h +++ b/drivers/net/wireless/libertas/decl.h | |||
@@ -6,6 +6,8 @@ | |||
6 | #ifndef _WLAN_DECL_H_ | 6 | #ifndef _WLAN_DECL_H_ |
7 | #define _WLAN_DECL_H_ | 7 | #define _WLAN_DECL_H_ |
8 | 8 | ||
9 | #include <linux/device.h> | ||
10 | |||
9 | #include "defs.h" | 11 | #include "defs.h" |
10 | 12 | ||
11 | /** Function Prototype Declaration */ | 13 | /** Function Prototype Declaration */ |
@@ -66,18 +68,24 @@ void libertas_ps_wakeup(wlan_private * priv, int wait_option); | |||
66 | 68 | ||
67 | void libertas_tx_runqueue(wlan_private *priv); | 69 | void libertas_tx_runqueue(wlan_private *priv); |
68 | 70 | ||
69 | extern struct chan_freq_power *libertas_find_cfp_by_band_and_channel( | 71 | struct chan_freq_power *libertas_find_cfp_by_band_and_channel( |
70 | wlan_adapter * adapter, u8 band, u16 channel); | 72 | wlan_adapter * adapter, u8 band, u16 channel); |
71 | 73 | ||
72 | extern void libertas_mac_event_disconnected(wlan_private * priv); | 74 | void libertas_mac_event_disconnected(wlan_private * priv); |
73 | 75 | ||
74 | void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str); | 76 | void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str); |
75 | 77 | ||
76 | int reset_device(wlan_private *priv); | 78 | /* fw.c */ |
79 | int libertas_init_fw(wlan_private * priv, char *fw_name); | ||
80 | |||
77 | /* main.c */ | 81 | /* main.c */ |
78 | extern struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band, | 82 | struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band, |
79 | int *cfp_no); | 83 | int *cfp_no); |
80 | wlan_private *wlan_add_card(void *card); | 84 | wlan_private *libertas_add_card(void *card, struct device *dmdev); |
81 | int wlan_remove_card(void *card); | 85 | int libertas_activate_card(wlan_private *priv, char *fw_name); |
86 | int libertas_remove_card(wlan_private *priv); | ||
87 | int libertas_add_mesh(wlan_private *priv, struct device *dev); | ||
88 | void libertas_remove_mesh(wlan_private *priv); | ||
89 | |||
82 | 90 | ||
83 | #endif /* _WLAN_DECL_H_ */ | 91 | #endif /* _WLAN_DECL_H_ */ |