diff options
author | Ben Cahill <ben.m.cahill@intel.com> | 2009-10-10 00:20:27 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 23:47:59 +0300 |
commit | 008a9e3e3c37abd7f56d2478fe92d5874de3630a (patch) | |
tree | 751da4ddaf477733deee67759a95aa3b166448a6 /drivers/char/Kconfig | |
parent | 743cdf1b65656faf1e6f1f74278c52b89a0b7360 (diff) | |
download | linux-008a9e3e3c37abd7f56d2478fe92d5874de3630a.tar.xz |
iwl3945: move iwl_power_initialize()
iwl_power_initialize() initializes driver data (not device hardware), and does
not need to execute more than once (when the driver initializes). Therefore, it
does not belong in iwl3945_apm_init(), which initializes hardware, and may run
more than once.
Move it to iwl3945_pci_probe(), where it will run only once. This agrees
with similar placement in iwl-agn.c's iwl_pci_probe(), although placement
under "services" seemed more appropriate than under "mac80211".
Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/char/Kconfig')
0 files changed, 0 insertions, 0 deletions