aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-eeprom.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-10-24 10:49:25 -0400
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 05:17:00 -0500
commit46bc8d4b0e73ac75de323646d75a2333f47b84c3 (patch)
treea11a89b1a3480135e1510aacd5909485ab2e5be7 /drivers/net/wireless/iwlegacy/iwl-eeprom.h
parente2ebc8337d116acdc25469ec8547ae665f50a4c1 (diff)
iwlegacy: rename priv to il
Make code shorter. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-eeprom.h')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-eeprom.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-eeprom.h b/drivers/net/wireless/iwlegacy/iwl-eeprom.h
index 9ad687161623..acb5ec17d70d 100644
--- a/drivers/net/wireless/iwlegacy/iwl-eeprom.h
+++ b/drivers/net/wireless/iwlegacy/iwl-eeprom.h
@@ -325,20 +325,20 @@ struct il_eeprom_calib_info {
325 325
326struct il_eeprom_ops { 326struct il_eeprom_ops {
327 const u32 regulatory_bands[7]; 327 const u32 regulatory_bands[7];
328 int (*acquire_semaphore) (struct il_priv *priv); 328 int (*acquire_semaphore) (struct il_priv *il);
329 void (*release_semaphore) (struct il_priv *priv); 329 void (*release_semaphore) (struct il_priv *il);
330}; 330};
331 331
332 332
333int il_eeprom_init(struct il_priv *priv); 333int il_eeprom_init(struct il_priv *il);
334void il_eeprom_free(struct il_priv *priv); 334void il_eeprom_free(struct il_priv *il);
335const u8 *il_eeprom_query_addr(const struct il_priv *priv, 335const u8 *il_eeprom_query_addr(const struct il_priv *il,
336 size_t offset); 336 size_t offset);
337u16 il_eeprom_query16(const struct il_priv *priv, size_t offset); 337u16 il_eeprom_query16(const struct il_priv *il, size_t offset);
338int il_init_channel_map(struct il_priv *priv); 338int il_init_channel_map(struct il_priv *il);
339void il_free_channel_map(struct il_priv *priv); 339void il_free_channel_map(struct il_priv *il);
340const struct il_channel_info *il_get_channel_info( 340const struct il_channel_info *il_get_channel_info(
341 const struct il_priv *priv, 341 const struct il_priv *il,
342 enum ieee80211_band band, u16 channel); 342 enum ieee80211_band band, u16 channel);
343 343
344#endif /* __il_eeprom_h__ */ 344#endif /* __il_eeprom_h__ */