summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 14:51:01 +0100
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 14:51:01 +0100
commit1722f8e12a9c6117d872bd19ec5919460ccdfb4e (patch)
tree8f40a7240155e074c1a8f01927821c4a16eabe70 /drivers/net/wireless/iwlegacy/3945.h
parente7392364fcd1004a5e495f15cf21b1e0ef874215 (diff)
downloadblackbird-op-linux-1722f8e12a9c6117d872bd19ec5919460ccdfb4e.tar.gz
blackbird-op-linux-1722f8e12a9c6117d872bd19ec5919460ccdfb4e.zip
iwlegacy: checkpatch.pl fixes
Fix most checkpatch.pl ERRORs and some WARNINGs. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
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);
extern void il3945_reg_txpower_periodic(struct il_priv *il);
extern int il3945_txpower_set_from_eeprom(struct il_priv *il);
-extern const struct il_channel_info *il3945_get_channel_info(const struct
- il_priv *il,
- enum ieee80211_band
- band, u16 channel);
-
extern int il3945_rs_next_rate(struct il_priv *il, int rate);
/* scanning */
@@ -619,31 +614,31 @@ struct il3945_tfd {
} __packed;
#ifdef CONFIG_IWLEGACY_DEBUGFS
-ssize_t il3945_ucode_rx_stats_read(struct file *file, char __user * user_buf,
- size_t count, loff_t * ppos);
-ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user * user_buf,
- size_t count, loff_t * ppos);
+ssize_t il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf,
+ size_t count, loff_t *ppos);
+ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf,
+ size_t count, loff_t *ppos);
ssize_t il3945_ucode_general_stats_read(struct file *file,
- char __user * user_buf, size_t count,
- loff_t * ppos);
+ char __user *user_buf, size_t count,
+ loff_t *ppos);
#else
static ssize_t
-il3945_ucode_rx_stats_read(struct file *file, char __user * user_buf,
- size_t count, loff_t * ppos)
+il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf,
+ size_t count, loff_t *ppos)
{
return 0;
}
static ssize_t
-il3945_ucode_tx_stats_read(struct file *file, char __user * user_buf,
- size_t count, loff_t * ppos)
+il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf,
+ size_t count, loff_t *ppos)
{
return 0;
}
static ssize_t
-il3945_ucode_general_stats_read(struct file *file, char __user * user_buf,
- size_t count, loff_t * ppos)
+il3945_ucode_general_stats_read(struct file *file, char __user *user_buf,
+ size_t count, loff_t *ppos)
{
return 0;
}
OpenPOWER on IntegriCloud