diff options
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r-- | drivers/net/wireless/libertas/decl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h index 1d141fefd767..2ae752d10065 100644 --- a/drivers/net/wireless/libertas/decl.h +++ b/drivers/net/wireless/libertas/decl.h | |||
@@ -8,7 +8,14 @@ | |||
8 | #define _LBS_DECL_H_ | 8 | #define _LBS_DECL_H_ |
9 | 9 | ||
10 | #include <linux/netdevice.h> | 10 | #include <linux/netdevice.h> |
11 | #include <linux/firmware.h> | ||
11 | 12 | ||
13 | /* Should be terminated by a NULL entry */ | ||
14 | struct lbs_fw_table { | ||
15 | int model; | ||
16 | const char *helper; | ||
17 | const char *fwname; | ||
18 | }; | ||
12 | 19 | ||
13 | struct lbs_private; | 20 | struct lbs_private; |
14 | struct sk_buff; | 21 | struct sk_buff; |
@@ -53,4 +60,10 @@ int lbs_exit_auto_deep_sleep(struct lbs_private *priv); | |||
53 | u32 lbs_fw_index_to_data_rate(u8 index); | 60 | u32 lbs_fw_index_to_data_rate(u8 index); |
54 | u8 lbs_data_rate_to_fw_index(u32 rate); | 61 | u8 lbs_data_rate_to_fw_index(u32 rate); |
55 | 62 | ||
63 | int lbs_get_firmware(struct device *dev, const char *user_helper, | ||
64 | const char *user_mainfw, u32 card_model, | ||
65 | const struct lbs_fw_table *fw_table, | ||
66 | const struct firmware **helper, | ||
67 | const struct firmware **mainfw); | ||
68 | |||
56 | #endif | 69 | #endif |