diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945.h | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945.h b/drivers/net/wireless/iwlegacy/3945.h index 8e53751270f0..00d3336fd16b 100644 --- a/drivers/net/wireless/iwlegacy/3945.h +++ b/drivers/net/wireless/iwlegacy/3945.h | |||
@@ -269,11 +269,6 @@ extern int il3945_init_hw_rate_table(struct il_priv *il); | |||
269 | extern void il3945_reg_txpower_periodic(struct il_priv *il); | 269 | extern void il3945_reg_txpower_periodic(struct il_priv *il); |
270 | extern int il3945_txpower_set_from_eeprom(struct il_priv *il); | 270 | extern int il3945_txpower_set_from_eeprom(struct il_priv *il); |
271 | 271 | ||
272 | extern const struct il_channel_info *il3945_get_channel_info(const struct | ||
273 | il_priv *il, | ||
274 | enum ieee80211_band | ||
275 | band, u16 channel); | ||
276 | |||
277 | extern int il3945_rs_next_rate(struct il_priv *il, int rate); | 272 | extern int il3945_rs_next_rate(struct il_priv *il, int rate); |
278 | 273 | ||
279 | /* scanning */ | 274 | /* scanning */ |
@@ -619,31 +614,31 @@ struct il3945_tfd { | |||
619 | } __packed; | 614 | } __packed; |
620 | 615 | ||
621 | #ifdef CONFIG_IWLEGACY_DEBUGFS | 616 | #ifdef CONFIG_IWLEGACY_DEBUGFS |
622 | ssize_t il3945_ucode_rx_stats_read(struct file *file, char __user * user_buf, | 617 | ssize_t il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, |
623 | size_t count, loff_t * ppos); | 618 | size_t count, loff_t *ppos); |
624 | ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user * user_buf, | 619 | ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, |
625 | size_t count, loff_t * ppos); | 620 | size_t count, loff_t *ppos); |
626 | ssize_t il3945_ucode_general_stats_read(struct file *file, | 621 | ssize_t il3945_ucode_general_stats_read(struct file *file, |
627 | char __user * user_buf, size_t count, | 622 | char __user *user_buf, size_t count, |
628 | loff_t * ppos); | 623 | loff_t *ppos); |
629 | #else | 624 | #else |
630 | static ssize_t | 625 | static ssize_t |
631 | il3945_ucode_rx_stats_read(struct file *file, char __user * user_buf, | 626 | il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, |
632 | size_t count, loff_t * ppos) | 627 | size_t count, loff_t *ppos) |
633 | { | 628 | { |
634 | return 0; | 629 | return 0; |
635 | } | 630 | } |
636 | 631 | ||
637 | static ssize_t | 632 | static ssize_t |
638 | il3945_ucode_tx_stats_read(struct file *file, char __user * user_buf, | 633 | il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, |
639 | size_t count, loff_t * ppos) | 634 | size_t count, loff_t *ppos) |
640 | { | 635 | { |
641 | return 0; | 636 | return 0; |
642 | } | 637 | } |
643 | 638 | ||
644 | static ssize_t | 639 | static ssize_t |
645 | il3945_ucode_general_stats_read(struct file *file, char __user * user_buf, | 640 | il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, |
646 | size_t count, loff_t * ppos) | 641 | size_t count, loff_t *ppos) |
647 | { | 642 | { |
648 | return 0; | 643 | return 0; |
649 | } | 644 | } |