From: Lennert Buytenhek Date: Wed, 21 Nov 2007 23:07:07 +0000 (-0800) Subject: PCI: get rid of pci_dev::{vendor,device}_compatible fields X-Git-Tag: v2.6.25-rc1~1074^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10d7425d201e866ee0c57424860e06118dae2500;p=platform%2Fupstream%2Fkernel-adaptation-pc.git PCI: get rid of pci_dev::{vendor,device}_compatible fields The vendor_compatible and device_compatible fields in struct pci_dev aren't used anywhere, and are somewhat pointless. Assuming that these are historical artifacts, remove them. Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/pci.h b/include/linux/pci.h index bdff18b..c53d6cf 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -66,7 +66,6 @@ enum pci_mmap_state { #define PCI_DMA_FROMDEVICE 2 #define PCI_DMA_NONE 3 -#define DEVICE_COUNT_COMPATIBLE 4 #define DEVICE_COUNT_RESOURCE 12 typedef int __bitwise pci_power_t; @@ -167,10 +166,6 @@ struct pci_dev { pci_channel_state_t error_state; /* current connectivity state */ struct device dev; /* Generic device interface */ - /* device is compatible with these IDs */ - unsigned short vendor_compatible[DEVICE_COUNT_COMPATIBLE]; - unsigned short device_compatible[DEVICE_COUNT_COMPATIBLE]; - int cfg_size; /* Size of configuration space */ /*