aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Grumbach2012-02-23 10:18:00 +0200
committerWey-Yi Guy2012-02-27 13:57:24 -0800
commit659373d5152705b83283860364bfd4e2b1422f7a (patch)
treee8f74a59df977cd37eb87fa94cab5042af016445
parent378911233f424d7a1bf4a579587ae71c7d887166 (diff)
iwlwifi: fix IDI compilation
This is a fixup for my: iwlwifi: kill iwl_bus.h Please fold them into one patch for upstream Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-pci.c b/drivers/net/wireless/iwlwifi/iwl-pci.c
index 0ce704715ce9..06e004157dcc 100644
--- a/drivers/net/wireless/iwlwifi/iwl-pci.c
+++ b/drivers/net/wireless/iwlwifi/iwl-pci.c
@@ -278,7 +278,7 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
#ifdef CONFIG_IWLWIFI_IDI
iwl_trans = iwl_trans_idi_alloc(shrd, pdev, ent);
- if (trans == NULL) {
+ if (iwl_trans == NULL) {
err = -ENOMEM;
goto out_free_bus;
}