iwlagn: remove knowledge of ucode image location from upper layers
authorDon Fry <donald.h.fry@intel.com>
Thu, 10 Nov 2011 14:55:08 +0000 (06:55 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:53 +0000 (12:32 -0500)
commit8929c24bf2ef4fb983ff86478116092080f8773f
tree0d6cbc896e9711d3fccee81dcc51ae1061c0ce4d
parent5703ddb01328c8ee3fa315273ea3b29f6524fb38
iwlagn: remove knowledge of ucode image location from upper layers

The upper layers of the driver do not need to know where the ucode is
stored.  It already passes in an enum of which ucode to load.  Let the
lower layer routines select the ucode to load.

Signed-off-by: Don Fry <donald.h.fry@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-sv-open.c