[POWERPC] The pci_dn class_code is only used by EEH

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, January 30, 2008 - 8:03 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=86bcab...
Commit:     86bcab492cfdbaad144bdfb453b4e9db6117a7a5
Parent:     253772b151ce3944a4bde0f06e0efd19dea8449e
Author:     Stephen Rothwell <sfr@canb.auug.org.au>
AuthorDate: Fri Dec 21 15:48:18 2007 +1100
Committer:  Paul Mackerras <paulus@samba.org>
CommitDate: Thu Jan 17 14:57:00 2008 +1100

    [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>
---
 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 9b16d3b..07cdb5b 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[POWERPC] The pci_dn class_code is only used by EEH, Linux Kernel Mailing ..., (Wed Jan 30, 8:03 pm)