diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-05-22 11:28:58 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-05-28 13:32:34 +0300 |
commit | 7b501d10b18bc34cc486201027fd6fc35779fb0e (patch) | |
tree | 2c59373279a61686c396ed0be38712c658d8242d /drivers/net/wireless/iwlwifi/Makefile | |
parent | a54cb6411b96379e107c364f2f0883c47628d046 (diff) | |
download | kernel_replicant_linux-7b501d10b18bc34cc486201027fd6fc35779fb0e.tar.gz kernel_replicant_linux-7b501d10b18bc34cc486201027fd6fc35779fb0e.tar.bz2 kernel_replicant_linux-7b501d10b18bc34cc486201027fd6fc35779fb0e.zip |
iwlwifi: refactor common transport alloc/init code
The transport modules all need to allocate memory and set up
certain values. Refactor that code into a new common function
to share it and to simplify the error handling.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/Makefile')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile index 3d32f4120174..dbfc5b18bcb7 100644 --- a/drivers/net/wireless/iwlwifi/Makefile +++ b/drivers/net/wireless/iwlwifi/Makefile @@ -9,6 +9,7 @@ iwlwifi-objs += iwl-phy-db.o iwl-nvm-parse.o iwlwifi-objs += pcie/drv.o pcie/rx.o pcie/tx.o pcie/trans.o iwlwifi-$(CONFIG_IWLDVM) += iwl-1000.o iwl-2000.o iwl-5000.o iwl-6000.o iwlwifi-$(CONFIG_IWLMVM) += iwl-7000.o iwl-8000.o +iwlwifi-objs += iwl-trans.o iwlwifi-objs += $(iwlwifi-m) |