diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-13 05:23:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 14:51:14 -0500 |
commit | f03ee2a87e21f76928c10d822639ec437113d312 (patch) | |
tree | 002cee0f71786f88ce3d859abe2fc6c1304745c1 /drivers/net/wireless/iwlegacy/4965-mac.c | |
parent | a89268e8cdcd52680bda21ada05f2716c6466377 (diff) |
iwlegacy: remove il_apm_ops
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/4965-mac.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index e113dc5b1c2e..ebfcfc8a9ae6 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c | |||
@@ -199,18 +199,14 @@ il4965_hw_nic_init(struct il_priv *il) | |||
199 | struct il_rx_queue *rxq = &il->rxq; | 199 | struct il_rx_queue *rxq = &il->rxq; |
200 | int ret; | 200 | int ret; |
201 | 201 | ||
202 | /* nic_init */ | ||
203 | spin_lock_irqsave(&il->lock, flags); | 202 | spin_lock_irqsave(&il->lock, flags); |
204 | il->ops->lib->apm_ops.init(il); | 203 | il_apm_init(il); |
205 | |||
206 | /* Set interrupt coalescing calibration timer to default (512 usecs) */ | 204 | /* Set interrupt coalescing calibration timer to default (512 usecs) */ |
207 | il_write8(il, CSR_INT_COALESCING, IL_HOST_INT_CALIB_TIMEOUT_DEF); | 205 | il_write8(il, CSR_INT_COALESCING, IL_HOST_INT_CALIB_TIMEOUT_DEF); |
208 | |||
209 | spin_unlock_irqrestore(&il->lock, flags); | 206 | spin_unlock_irqrestore(&il->lock, flags); |
210 | 207 | ||
211 | il4965_set_pwr_vmain(il); | 208 | il4965_set_pwr_vmain(il); |
212 | 209 | il4965_nic_config(il); | |
213 | il->ops->lib->apm_ops.config(il); | ||
214 | 210 | ||
215 | /* Allocate the RX queue, or reset if it is already allocated */ | 211 | /* Allocate the RX queue, or reset if it is already allocated */ |
216 | if (!rxq->bd) { | 212 | if (!rxq->bd) { |