Skip to content

Commit

Permalink
[POWERPC] The pci_dn class_code is only used by EEH
Browse files Browse the repository at this point in the history
... 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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jan 17, 2008
1 parent 253772b commit 86bcab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-powerpc/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand Down

0 comments on commit 86bcab4

Please sign in to comment.