]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
iwlwifi: replace 0x8086 with PCI_VENDOR_ID_INTEL
authorZhu Yi <yi.zhu@intel.com>
Wed, 7 Nov 2007 06:06:24 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:32 +0000 (15:04 -0800)
Replace 0x8086 with PCI_VENDOR_ID_INTEL for PCI_DEVICE declaration.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl-4965.c

index 39e7b07248cd32075ae56d4954dc5fec068ab706..36867a18d5b49925a41bd390cc36889b9db80916 100644 (file)
@@ -2279,8 +2279,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv)
 }
 
 struct pci_device_id iwl_hw_card_ids[] = {
-       {PCI_DEVICE(0x8086, 0x4222)},
-       {PCI_DEVICE(0x8086, 0x4227)},
+       {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4222)},
+       {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4227)},
        {0}
 };
 
index fed2357b7ef24c2d79639894530e012b99e9bfff..620f125ae304df52a4ecbdda86b81e019b792e9b 100644 (file)
@@ -4690,8 +4690,8 @@ void iwl_hw_cancel_deferred_work(struct iwl_priv *priv)
 }
 
 struct pci_device_id iwl_hw_card_ids[] = {
-       {PCI_DEVICE(0x8086, 0x4229)},
-       {PCI_DEVICE(0x8086, 0x4230)},
+       {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4229)},
+       {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x4230)},
        {0}
 };