diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-20 23:48:18 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-16 22:57:00 -0500 |
commit | 86bcab492cfdbaad144bdfb453b4e9db6117a7a5 (patch) | |
tree | 7f9421632bba6f0cf06ab89c8a5316c9ca2b70b1 /include | |
parent | 253772b151ce3944a4bde0f06e0efd19dea8449e (diff) |
[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 <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 9b16d3b17169..07cdb5b786f0 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -167,7 +167,6 @@ struct pci_dn { | |||
167 | int busno; /* pci bus number */ | 167 | int busno; /* pci bus number */ |
168 | int bussubno; /* pci subordinate bus number */ | 168 | int bussubno; /* pci subordinate bus number */ |
169 | int devfn; /* pci device and function number */ | 169 | int devfn; /* pci device and function number */ |
170 | int class_code; /* pci device class */ | ||
171 | 170 | ||
172 | struct pci_controller *phb; /* for pci devices */ | 171 | struct pci_controller *phb; /* for pci devices */ |
173 | struct iommu_table *iommu_table; /* for phb's or bridges */ | 172 | struct iommu_table *iommu_table; /* for phb's or bridges */ |
@@ -177,6 +176,7 @@ struct pci_dn { | |||
177 | int pci_ext_config_space; /* for pci devices */ | 176 | int pci_ext_config_space; /* for pci devices */ |
178 | 177 | ||
179 | #ifdef CONFIG_EEH | 178 | #ifdef CONFIG_EEH |
179 | int class_code; /* pci device class */ | ||
180 | int eeh_mode; /* See eeh.h for possible EEH_MODEs */ | 180 | int eeh_mode; /* See eeh.h for possible EEH_MODEs */ |
181 | int eeh_config_addr; | 181 | int eeh_config_addr; |
182 | int eeh_pe_config_addr; /* new-style partition endpoint address */ | 182 | int eeh_pe_config_addr; /* new-style partition endpoint address */ |