diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-04-16 19:34:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:02:10 -0400 |
commit | 6f4083aadd57e3da12fa4e67fcadaec23138a315 (patch) | |
tree | d824f8591b67b8d575b225928af84d491528736a /drivers/net/wireless/iwlwifi/iwl-core.h | |
parent | 947b13a7ccd31d8adbf41f466d6a1c770461596a (diff) |
iwlwifi: cleanup set_pwr_src
This patch cleans up semantic of set_pwr_src
set_pwr_src is now part of apm handlers group
in iwlcore
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index dcbd411a4767..51f61fb844f0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -115,6 +115,9 @@ struct iwl_lib_ops { | |||
115 | int (*load_ucode)(struct iwl_priv *priv); | 115 | int (*load_ucode)(struct iwl_priv *priv); |
116 | /* rfkill */ | 116 | /* rfkill */ |
117 | void (*radio_kill_sw)(struct iwl_priv *priv, int disable_radio); | 117 | void (*radio_kill_sw)(struct iwl_priv *priv, int disable_radio); |
118 | struct { | ||
119 | int (*set_pwr_src)(struct iwl_priv *priv, enum iwl_pwr_src src); | ||
120 | } apm_ops; | ||
118 | /* eeprom operations (as defined in iwl-eeprom.h) */ | 121 | /* eeprom operations (as defined in iwl-eeprom.h) */ |
119 | struct iwl_eeprom_ops eeprom_ops; | 122 | struct iwl_eeprom_ops eeprom_ops; |
120 | }; | 123 | }; |