aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945.h')
-rw-r--r--drivers/net/wireless/iwlegacy/3945.h29
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);
269extern void il3945_reg_txpower_periodic(struct il_priv *il); 269extern void il3945_reg_txpower_periodic(struct il_priv *il);
270extern int il3945_txpower_set_from_eeprom(struct il_priv *il); 270extern int il3945_txpower_set_from_eeprom(struct il_priv *il);
271 271
272extern const struct il_channel_info *il3945_get_channel_info(const struct
273 il_priv *il,
274 enum ieee80211_band
275 band, u16 channel);
276
277extern int il3945_rs_next_rate(struct il_priv *il, int rate); 272extern 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
622ssize_t il3945_ucode_rx_stats_read(struct file *file, char __user * user_buf, 617ssize_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);
624ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user * user_buf, 619ssize_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);
626ssize_t il3945_ucode_general_stats_read(struct file *file, 621ssize_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
630static ssize_t 625static ssize_t
631il3945_ucode_rx_stats_read(struct file *file, char __user * user_buf, 626il3945_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
637static ssize_t 632static ssize_t
638il3945_ucode_tx_stats_read(struct file *file, char __user * user_buf, 633il3945_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
644static ssize_t 639static ssize_t
645il3945_ucode_general_stats_read(struct file *file, char __user * user_buf, 640il3945_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}