From 21416dabe1f0d54f1caa4fb4132a18edbecb7a09 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 13 Nov 2010 00:22:39 +0100 Subject: [PATCH] compat-wireless: add missing rename for CONFIG_IWL4965 Signed-off-by: Hauke Mehrtens --- patches/08-rename-iwl4965-config.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/08-rename-iwl4965-config.patch b/patches/08-rename-iwl4965-config.patch index 32b7f59ea6ed..d3bf221e42de 100644 --- a/patches/08-rename-iwl4965-config.patch +++ b/patches/08-rename-iwl4965-config.patch @@ -39,6 +39,15 @@ CONFIG_IWL4965 has to be set to y, to build correctly. iwlagn-$(CONFIG_IWL5000) += iwl-6000.o --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c +@@ -3969,7 +3969,7 @@ static int iwl_pci_probe(struct pci_dev + #ifdef CONFIG_IWL5000 + iwlagn_hw_ops.hw_scan = NULL; + #endif +-#ifdef CONFIG_IWL4965 ++#ifdef CONFIG_COMPAT_IWL4965 + iwl4965_hw_ops.hw_scan = NULL; + #endif + } @@ -4337,10 +4337,10 @@ static void __devexit iwl_pci_remove(str /* Hardware specific file defines the PCI IDs table for that hardware module */ -- 2.30.2