From 86bcab492cfdbaad144bdfb453b4e9db6117a7a5 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Fri, 21 Dec 2007 15:48:18 +1100 Subject: [POWERPC] The pci_dn class_code is only used by EEH ... so move it into the #ifdef CONFIG_EEH section. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- include/asm-powerpc/pci-bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-powerpc') diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 9b16d3b1716..07cdb5b786f 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h @@ -167,7 +167,6 @@ struct pci_dn { int busno; /* pci bus number */ int bussubno; /* pci subordinate bus number */ int devfn; /* pci device and function number */ - int class_code; /* pci device class */ struct pci_controller *phb; /* for pci devices */ struct iommu_table *iommu_table; /* for phb's or bridges */ @@ -177,6 +176,7 @@ struct pci_dn { int pci_ext_config_space; /* for pci devices */ #ifdef CONFIG_EEH + int class_code; /* pci device class */ int eeh_mode; /* See eeh.h for possible EEH_MODEs */ int eeh_config_addr; int eeh_pe_config_addr; /* new-style partition endpoint address */ -- cgit v1.2.3