From 04fefb9c923343c50ffba431140d2e447028dba4 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 11 Jan 2010 09:01:07 -0800 Subject: [PATCH] Fix iwlagn patch offset breakage This fixes the iwlagn patch breakage. The offests were really off, stopping automatic scripts to continue. Signed-off-by: Luis R. Rodriguez --- patches/08-rename-iwl4965-config.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/08-rename-iwl4965-config.patch b/patches/08-rename-iwl4965-config.patch index 65c2e7bf641e..ceaa34d94166 100644 --- a/patches/08-rename-iwl4965-config.patch +++ b/patches/08-rename-iwl4965-config.patch @@ -14,12 +14,12 @@ CONFIG_IWL4965 has to be set to y, to build correctly. iwlagn-$(CONFIG_IWL5000) += iwl-5000.o iwlagn-$(CONFIG_IWL5000) += iwl-6000.o iwlagn-$(CONFIG_IWL5000) += iwl-1000.o ---- a/drivers/net/wireless/iwlwifi/iwl-agn.c -+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c -@@ -3767,10 +3767,10 @@ static void __devexit iwl_pci_remove(str +--- a/drivers/net/wireless/iwlwifi/iwl-agn.c 2010-01-11 08:47:03.000000000 -0800 ++++ b/drivers/net/wireless/iwlwifi/iwl-agn.c 2010-01-11 08:54:05.000000000 -0800 +@@ -3767,10 +3767,10 @@ /* Hardware specific file defines the PCI IDs table for that hardware module */ - static struct pci_device_id iwl_hw_card_ids[] = { + static DEFINE_PCI_DEVICE_TABLE(iwl_hw_card_ids) = { -#ifdef CONFIG_IWL4965 +#ifdef CONFIG_COMPAT_IWL4965 {IWL_PCI_DEVICE(0x4229, PCI_ANY_ID, iwl4965_agn_cfg)}, -- 2.30.2