From 659373d5152705b83283860364bfd4e2b1422f7a Mon Sep 17 00:00:00 2001 From: Emmanuel Grumbach Date: Thu, 23 Feb 2012 10:18:00 +0200 Subject: [PATCH] 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 Signed-off-by: Wey-Yi Guy --- drivers/net/wireless/iwlwifi/iwl-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5