diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy')
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945-mac.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 16 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.c | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c index 3630a41df50d..df5a57c74808 100644 --- a/drivers/net/wireless/iwlegacy/3945-mac.c +++ b/drivers/net/wireless/iwlegacy/3945-mac.c | |||
@@ -3475,7 +3475,7 @@ static struct attribute_group il3945_attribute_group = { | |||
3475 | .attrs = il3945_sysfs_entries, | 3475 | .attrs = il3945_sysfs_entries, |
3476 | }; | 3476 | }; |
3477 | 3477 | ||
3478 | struct ieee80211_ops il3945_mac_ops = { | 3478 | static struct ieee80211_ops il3945_mac_ops __read_mostly = { |
3479 | .tx = il3945_mac_tx, | 3479 | .tx = il3945_mac_tx, |
3480 | .start = il3945_mac_start, | 3480 | .start = il3945_mac_start, |
3481 | .stop = il3945_mac_stop, | 3481 | .stop = il3945_mac_stop, |
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index c092fcbbe965..5bc995a48519 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -612,7 +612,7 @@ il4965_pass_packet_to_mac80211(struct il_priv *il, struct ieee80211_hdr *hdr, | |||
612 | 612 | ||
613 | /* Called for N_RX (legacy ABG frames), or | 613 | /* Called for N_RX (legacy ABG frames), or |
614 | * N_RX_MPDU (HT high-throughput N frames). */ | 614 | * N_RX_MPDU (HT high-throughput N frames). */ |
615 | void | 615 | static void |
616 | il4965_hdl_rx(struct il_priv *il, struct il_rx_buf *rxb) | 616 | il4965_hdl_rx(struct il_priv *il, struct il_rx_buf *rxb) |
617 | { | 617 | { |
618 | struct ieee80211_hdr *header; | 618 | struct ieee80211_hdr *header; |
@@ -744,7 +744,7 @@ il4965_hdl_rx(struct il_priv *il, struct il_rx_buf *rxb) | |||
744 | 744 | ||
745 | /* Cache phy data (Rx signal strength, etc) for HT frame (N_RX_PHY). | 745 | /* Cache phy data (Rx signal strength, etc) for HT frame (N_RX_PHY). |
746 | * This will be used later in il_hdl_rx() for N_RX_MPDU. */ | 746 | * This will be used later in il_hdl_rx() for N_RX_MPDU. */ |
747 | void | 747 | static void |
748 | il4965_hdl_rx_phy(struct il_priv *il, struct il_rx_buf *rxb) | 748 | il4965_hdl_rx_phy(struct il_priv *il, struct il_rx_buf *rxb) |
749 | { | 749 | { |
750 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 750 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -1250,7 +1250,7 @@ il4965_dump_fh(struct il_priv *il, char **buf, bool display) | |||
1250 | return 0; | 1250 | return 0; |
1251 | } | 1251 | } |
1252 | 1252 | ||
1253 | void | 1253 | static void |
1254 | il4965_hdl_missed_beacon(struct il_priv *il, struct il_rx_buf *rxb) | 1254 | il4965_hdl_missed_beacon(struct il_priv *il, struct il_rx_buf *rxb) |
1255 | { | 1255 | { |
1256 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 1256 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -1357,7 +1357,7 @@ il4965_accumulative_stats(struct il_priv *il, __le32 * stats) | |||
1357 | } | 1357 | } |
1358 | #endif | 1358 | #endif |
1359 | 1359 | ||
1360 | void | 1360 | static void |
1361 | il4965_hdl_stats(struct il_priv *il, struct il_rx_buf *rxb) | 1361 | il4965_hdl_stats(struct il_priv *il, struct il_rx_buf *rxb) |
1362 | { | 1362 | { |
1363 | const int recalib_seconds = 60; | 1363 | const int recalib_seconds = 60; |
@@ -1399,7 +1399,7 @@ il4965_hdl_stats(struct il_priv *il, struct il_rx_buf *rxb) | |||
1399 | il4965_temperature_calib(il); | 1399 | il4965_temperature_calib(il); |
1400 | } | 1400 | } |
1401 | 1401 | ||
1402 | void | 1402 | static void |
1403 | il4965_hdl_c_stats(struct il_priv *il, struct il_rx_buf *rxb) | 1403 | il4965_hdl_c_stats(struct il_priv *il, struct il_rx_buf *rxb) |
1404 | { | 1404 | { |
1405 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 1405 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -2050,7 +2050,7 @@ il4965_txq_ctx_reset(struct il_priv *il) | |||
2050 | il_tx_queue_reset(il, txq_id); | 2050 | il_tx_queue_reset(il, txq_id); |
2051 | } | 2051 | } |
2052 | 2052 | ||
2053 | void | 2053 | static void |
2054 | il4965_txq_ctx_unmap(struct il_priv *il) | 2054 | il4965_txq_ctx_unmap(struct il_priv *il) |
2055 | { | 2055 | { |
2056 | int txq_id; | 2056 | int txq_id; |
@@ -2896,7 +2896,7 @@ il4965_hwrate_to_tx_control(struct il_priv *il, u32 rate_n_flags, | |||
2896 | * Handles block-acknowledge notification from device, which reports success | 2896 | * Handles block-acknowledge notification from device, which reports success |
2897 | * of frames sent via aggregation. | 2897 | * of frames sent via aggregation. |
2898 | */ | 2898 | */ |
2899 | void | 2899 | static void |
2900 | il4965_hdl_compressed_ba(struct il_priv *il, struct il_rx_buf *rxb) | 2900 | il4965_hdl_compressed_ba(struct il_priv *il, struct il_rx_buf *rxb) |
2901 | { | 2901 | { |
2902 | struct il_rx_pkt *pkt = rxb_addr(rxb); | 2902 | struct il_rx_pkt *pkt = rxb_addr(rxb); |
@@ -6317,7 +6317,7 @@ il4965_tx_queue_set_status(struct il_priv *il, struct il_tx_queue *txq, | |||
6317 | scd_retry ? "BA" : "AC", txq_id, tx_fifo_id); | 6317 | scd_retry ? "BA" : "AC", txq_id, tx_fifo_id); |
6318 | } | 6318 | } |
6319 | 6319 | ||
6320 | const struct ieee80211_ops il4965_mac_ops = { | 6320 | static const struct ieee80211_ops il4965_mac_ops = { |
6321 | .tx = il4965_mac_tx, | 6321 | .tx = il4965_mac_tx, |
6322 | .start = il4965_mac_start, | 6322 | .start = il4965_mac_start, |
6323 | .stop = il4965_mac_stop, | 6323 | .stop = il4965_mac_stop, |
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c index e006ea831320..bc465da40476 100644 --- a/drivers/net/wireless/iwlegacy/common.c +++ b/drivers/net/wireless/iwlegacy/common.c | |||
@@ -1122,7 +1122,7 @@ il_set_power(struct il_priv *il, struct il_powertable_cmd *cmd) | |||
1122 | sizeof(struct il_powertable_cmd), cmd); | 1122 | sizeof(struct il_powertable_cmd), cmd); |
1123 | } | 1123 | } |
1124 | 1124 | ||
1125 | int | 1125 | static int |
1126 | il_power_set_mode(struct il_priv *il, struct il_powertable_cmd *cmd, bool force) | 1126 | il_power_set_mode(struct il_priv *il, struct il_powertable_cmd *cmd, bool force) |
1127 | { | 1127 | { |
1128 | int ret; | 1128 | int ret; |